Results 1 to 6 of 6
Is this a new protocol?
I enter su -, then get the password prompt, and it returns authentication failure.
What's new here?...
- 07-28-2009 #1Linux User
- Join Date
- Apr 2007
- Posts
- 289
su - then password, returns authentication failure
Is this a new protocol?
I enter su -, then get the password prompt, and it returns authentication failure.
What's new here?
- 07-28-2009 #2Linux Newbie
- Join Date
- Nov 2007
- Location
- Planet Earth
- Posts
- 152
Is it a fresh installation?
Many distribution disable the root user by default, so you need to do:
sudo passwd
to write a password for the root user.
Anyway, it's a good idea to use 'sudo' instead of root user directly.
HugoEOF
- 07-28-2009 #3Linux User
- Join Date
- Apr 2007
- Posts
- 289
- 07-28-2009 #4
Ubuntu disables the root password by default and uses sudo exclusively. The first user created on the system automatically has elevated privileges.
As for whether sudo is somehow more secure than su, there is certainly debate about that.
As mentioned, you are free to set a root password in Ubuntu and use su as well.
Instead of prefacing every command with sudo, you can also log in as root with sudo su
- 07-28-2009 #5Linux User
- Join Date
- Apr 2007
- Posts
- 289
I went exec sudo -s
This worked.Code:chucknb@chucknb-desktop:~$ exec sudo -s [sudo] password for chucknb: root@chucknb-desktop:~#
What happened to???Code:su -
- 07-28-2009 #6
su - should work fine - again, you just have to set a root password in Ubuntu to use it.


Reply With Quote
