Log in

View Full Version : su doesn't work on ubuntu 10.04


TheMatrix
October 10th, 2010, 01:24 AM
i can't get 'su' to work on my computer. i 've set my account type to 'root' but it still won't work. i now use 'sudo -i'.
i know the root password, but it still won't work. anyone else have this problem?

Commander Thor
October 10th, 2010, 02:58 PM
You should use 'sudo' instead of 'su' on Ubuntu. The root account is locked out by default on Ubuntu for security reasons (Thus, making you not able to use 'su').
Using what you're doing now ('sudo -i') is currently the accepted way of doing it.
You could also use 'sudo su' or 'sudo -s'. It all produces the same results of 'su'.