Unix administration - Re: no lpadmin

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > November 2007 > Re: no lpadmin





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: no lpadmin
Doug Freyburger

2007-11-26, 7:22 pm

jammer <jamesloc...@mail.com> wrote:
> "Vakayil Thobias" <vakayil.thob...@alcatel-lucent.com> wrote:
>
>
>
> ls /usr/sbin/lpadmin
> /usr/sbin/lpadmin: No such file or directory
>
> How do I install it or setup a printer without it?


-bash-3.00$ grep /usr/lib/lpadmin /var/sadm/install/contents
/usr/lib/lpadmin=../sbin/lpadmin s none SUNWpcu
-bash-3.00$ grep /usr/sbin/lpadmin /var/sadm/install/contents
/usr/sbin/lpadmin f none 0555 root lp 8953 42052 1106350196 SUNWpcu

It's in package SUNWpcu on my system. You could install that package.

If you want to be very gross, create the queue on a system with
lpadmin,
tar directory /var/spool/lp, copy the tar file to this host, extract
to clone
all of the queues. Likely not what you want to do but sometimes brute
force works fine.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com