[Gllug] Why have root passwords at all?
Dean Wilson
dwilson at unixdaemon.net
Sat Mar 11 16:23:04 UTC 2006
On Sat, Mar 11, 2006 at 04:16:47PM +0000, Matthew Cooke wrote:
It's not as automagical as a system call interceptor (which is a good
thing) but sudo does most of what you want.
> [bob at localhost]> /etc/init.d/httpd restart
> You do not currently have permission, please type admin password: ****
> httpd [stop]
> httpd error
[bob at localhost]> /etc/init.d/httpd restart
Permission denied
[bob at localhost]> sudo /etc/init.d/httpd restart
> no user input for a while or a certain command causes the escalated
> privileges to be lost.
sudo does this, five minutes by default. Or you can sudo -k.
Dean
--
Dean Wilson http://www.unixdaemon.net
Profanity is the one language all programmers understand
--- Anon
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list