I would like to enable some users to use
print control utilities, namely lpc and
lprm, such us a root user would, that is
they could kill a job owned by anyone,
and restart any printer daemon.
As is, only the root user can do this. Testing
things on my own user account, even if I add
myself to all the groups root is in, and log
back in, I still get the error:
[rich@Mufasa rich]$ lpc restart Amethyst
Amethyst:
cannot open lock file
Amethyst:
lpc: connect: Permission denied
couldn't start daemon
The lock file has permissions -------r-- root:root.
The lpc command has permissions -r-xr-sr-x root:lp
On my old Sequent Dynix system, there was a "sudo"
command, whose config file listed who was allowed
to run which commands as root.
Does anyone have a good way to allow a few users
to use lpc and lprm as root?
//\ --rich
// \
// / \ Richard Mann -- Network Administrator
// / / \ P u b l i c a t i o n S e r v i c e s, I n c.
\\ / / / Champaign, Illinois, USA 61821 (217) 398-2060 x22
\\ / /
\\ /
\\/
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.