On Sat, 2007-04-14 at 23:35 -0600, Steve wrote:
> Finally out of desperation I tried this,
> 
> touch ~/.sudo_as_admin_successful
> sudo /bin/bash
> su root
> passwd "mynewpassword"

Are you sure you didn't just have something like: "%somegroup
ALL=NOPASSWD: ALL" in the sudoers file and the user also happened to be
in "somegroup"?

This will do anything with sudo and *not* prompt for a password.  In
which case, one could simply do a `passwd root` and set/change root's
password as long as they were in the "somegroup".

Gabe


/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to