LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   carnt login as root in terminal (https://www.linuxquestions.org/questions/ubuntu-63/carnt-login-as-root-in-terminal-597542/)

jessica_lilly 11-06-2007 11:19 AM

carnt login as root in terminal
 
hi,

i have had Ubuntu working for about a week now after moving from suse and i have noticed when i type

su root

it asks for my password so i put it in and it says

authorization failed
sorry


but i know its the right password

any help ???

thanks in advance

reddazz 11-06-2007 11:38 AM

Ubuntu does not use a classical unix security model. You need to use sudo in order to run commands with root privileges e.g. "sudo somecommand". If you want to use the classic model, then you need to do "sudo passwd root" in order to give root a password.

jessica_lilly 11-06-2007 11:42 AM

o ok thanks :) i feel so dumb

aysiu 11-06-2007 11:54 PM

Actually, there's no need to activate the root account. If you get tired of typing sudo for every command, just do
Code:

sudo -i
and this will give you a root terminal.

jessica_lilly 11-07-2007 12:16 PM

thanks helped me a lot :)


All times are GMT -5. The time now is 08:42 PM.