Re: Wemin IS cool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
> [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Tom Klem
> Sent: Wednesday, June 16, 2004 1:11 AM
> To: redhat-list@xxxxxxxxxx
> 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


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux