sudo -i might be a better choice if it is available.
Not all versions of sudo support it but the ones in recent versions of
Ubuntu do. It sets the env up better for root.
Leigh/WA5ZNU
P.S. I think I first su'd in 1980.
On Tue, 2 Sep 2008 6:15 pm, Nate Bargmann wrote:
I always found using sudo on Ubuntu to be a pain. I "grew up" using
su to become
root, do what need to be done, and then exiting to get out of the
root shell.
Here is a little trick I use to give root a valid password on Ubuntu.
Just run:
"sudo sh"
You will get a shell as root, and can then run
"passwd" to set a root password.
I know... security.
I've done `sudo su' to get to a root prompt as well. TIMTOWTDI. :)
73, de Nate >>
_______________________________________________
Xlog-discussion mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/xlog-discussion