Wemin IS cool

Pete Nesbitt pete at linux1.ca
Thu Jun 17 04:41:48 UTC 2004


On June 16, 2004 07:53 am, Michael Scully wrote:
> Tom:
>
> 	I like Webmin as well, but printer configuration is the one thing on
> RedHat you can't do with it.  Somewhere about 7.1 or so, RH moved their
> configurations out of /etc/printcap into some proprietary files.
> /etc/printcap gets re-generated each time the service is started, but you
> can put other custom configurations in /etc/printcap.local  To manage
> printers, you really need to use the gui printer config that Red Hat
> supplies.
>
> 	You can change the Webmin config so that it manipulates the
> printcap.local file instead, but then those printers don't show up if
> you're using RH's tool.
>
> 	I've never been able to find out where RH keeps those
> configurations.  Does anyone know?
>
> Scully
>
>
> -----Original Message-----
> From: redhat-list-bounces at redhat.com
> [mailto:redhat-list-bounces at redhat.com] On Behalf Of Tom Klem
> Sent: Wednesday, June 16, 2004 1:11 AM
> To: redhat-list at redhat.com
> Subject: Re: mysql backup script
>
> Same experieince. Webmin is cool for everything, especially the backup.pl
> script that it generates.
>
> Tom Klem

As I understand it, in order to allow a smooth transition from lprng to cups, 
RH started using a series of sym links that allow the use of either printing 
systems commands. There is a similar setup for sendmail and postfix.

Check out the man on 'alternatives' and look at the links:
/usr/bin/lpr -> /etc/alternatives/print
/usr/bin/lpr.cups
/usr/bin/lpr.LPRng
/usr/bin/lprm -> /etc/alternatives/print-lprm
/usr/bin/lprm.cups
/usr/bin/lprm.LPRng
/usr/bin/lprsetup.sh

/etc/alternatives/print -> /usr/bin/lpr.cups
/etc/alternatives/print-lprm -> /usr/bin/lprm.cups

It takes a bit to follow it all thru, but it is a rather neat process.

As far as using the Redhat-config tool, I think printing is one service that 
is best left to a utility and not editing printcap directly.  If I were you, 
I would just choose either the RH tool or WebMin, and stick with it.
-- 
Pete Nesbitt, rhce





More information about the redhat-list mailing list