How to autologin as a superuser

Tim ignored_mailbox at yahoo.com.au
Mon Dec 5 08:40:20 UTC 2005


On Mon, 2005-12-05 at 00:20 -0500, THUFIR HAWAT wrote:
> I'm not clear on how sudo works.  Rather than typing "su -" followed
> by root's password, can I set it up so that I just type "sudo" and
> then I *am* root until I exit?

Why do you want to make "sudo" work like "su -"?  Just use "su -".

If you're hoping to avoid typing in any password, that's a very bad
thing.  All it would take is for some exploit to use sudo (alone,
sans-password), and it could do anything that it wanted.  Likewise for
any other technique of granting root privileges without typing in the
root password.

-- 
Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.




More information about the fedora-list mailing list