Thread: root access
View Single Post
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#10
Originally Posted by free View Post
Do you do this because you want to sudo to root after sshing from user?
No, it's because I'm lazy and can't be bothered to remove the password on the root account.

Originally Posted by free View Post
I realized that sudo gain root prompts for a password, it's a sudo configuration lockdown I guess?
"sudo gainroot" doesn't prompt for the root password, and will continue to work even if the password has been removed from the root account.