Re: sudo is acting up
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.
Kevin
Reply to: