sudo password

Fred Roller fred at fwrgallery.com
Wed Mar 24 11:13:34 UTC 2010


On 03/23/2010 01:12 PM, Dave Howorth wrote:
> When I use sudo I'd like to use a different password to the one I logged
> in with. I see that I could configure /etc/sudoers so that I used root's
> password but I buy into the ubuntu argument that it's better not to have
> the root account enabled. So is there some way to configure a different
> password?
>
> Cheers, Dave
>
>    
For me, Dave, when I build a system that needs this criteria I build 
with the "admin" - default - account and a strong passphrase.  Once 
built, I then create an unprivileged user for daily use.  Since this is 
/usually/ for a user and security is /not/ a huge deal, I set the user 
to auto log in.  Most of what I need root for is done from cli so I use 
the following from the user's account:

     sudo su - admin

if necessary after the above

     sudo su -

to work as root, which is rarely needed.  Of course you can switch users 
as well.

-- 
Fred
www.fwrgallery.com

"Life is like linux, simple.  If you are fighting it you are doing something wrong."





More information about the ubuntu-users mailing list