Thread: how to su -
View Single Post
thoughtfix's Avatar
Posts: 832 | Thanked: 75 times | Joined on Dec 2005 @ Phoenix, AZ
#2
Originally Posted by slackwaresupport
the best way to get the full paths and such as root is.
be root.
edit /etc/sudoers
and put
user ALL=(ALL) NOPASSWD: ALL

then instead of sudo gainroot, just do su -
and the password is rootme.
There are some good reasons you want to keep root privs protected though. It's good sysadmin practice to just permit root access to specific needed commands.

Of course, it's going to be hard to break out of the "good sysadmin practice" and think "Hey - this isn't a server... just a tablet."