|
Posted by Eric Lubow
|
Use sudo to execute commands as root as a replacement for su. In the /etc/sudoers file, add the following lines by using the visudo command:
Cmnd_Alias LPCMDS = /usr/sbin/lpc, /usr/bin/lprm
eric ALL=LPCMDS
Now the user 'eric' can sudo and use the lpc and lprm commands without having any other root level access.
Powered by AkoComment! |