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

Re: sudo is acting up



 --- Kevin McKinley <ronin2@bellatlantic.net> escribió: > On Sun, 18 May 2003
00:13:34 -0400
> Carl Fink <carlf@fink.to> wrote:
> 
> > Let me ask the stupid question:  doesn't sudo want *your* password
> > (that is, the one you used to log on as non-root), not the root
> > password?
> 
> su and sudo are different.
> 
> To use "su - <username>" you need to provide the <username> password, since
> that's whose privilege you're trying to use. If you don't provide
> "<username>", the default is "root".
> 
> If sudo is properly set up, you can just do "sudo <command>" without giving
> a password at all. See the documentation for sudo.
> 

Many thanks to everyone who pointed out the error in my thinking.  Of course,
it now makes sense to me that if the user needed the ROOT password to use
sudo, then they may as well skip using sudo and login as root.

Anyhow, how do I change the option for the password prompt?  I ask because
my two computers behave differently.  My Woody box never asks for a password
but my Sid box does (and has about a 10 min window before I have to enter it
again).  I would like my unstable box to also ask for the password, but after
reading the man pages I still can't figure it out.  The sudoers man page
states that I can change the default for 'authenticate' to PASSWD, but I
can't get the syntax right and there is not a similar line in the example
sudoers file in the documentation.

-Roberto Sanchez


___________________________________________________
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es



Reply to: