Results 1 to 8 of 8
I installed Ubuntu last night before I headed to bed and when I woke up this morning I discovered a problem. When I am sitting in the terminal and I ...
- 08-25-2005 #1Linux Newbie
- Join Date
- Aug 2003
- Location
- Port Angeles, WA
- Posts
- 119
Ubuntu Problem
I installed Ubuntu last night before I headed to bed and when I woke up this morning I discovered a problem. When I am sitting in the terminal and I type su it asks for the password like it should but when I enter the password, which is correct, it says authentication failure.
The weird part is when I am asked for a password anywhere else after wanting to change a system setting or something like that it takes the password. Why wont it accept the password after typing su but it will take it everywhere else?
- 08-25-2005 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,086
Try sudo instead. I think ubuntu is setup to use it by default.
- 08-25-2005 #3Just Joined!
- Join Date
- Oct 2004
- Location
- Midwest
- Posts
- 43
That is true. Ubuntu is set up the same as macs. there is a systemwide password, but you cannot log in as root. They did this to make a more user-friendly/user-safe distro. If it really bugs you not being able to start a root session (sudo caches the password, so after the first command you type, you can sudo anything else just by prefacing he command with sudo) you can enable the root password, and thus the su command by typing-
sudo passwd root
and then entering your desired root password
- 08-25-2005 #4
Re: Ubuntu Problem
Basically, you just replace 'su' with 'sudo' in the command.
Originally Posted by Hotwheelz
Then for the password you enter your user pass.
This gives you admin privileges.It may be that your sole purpose in life is simply to serve as a warning to others.
- 08-26-2005 #5Just Joined!
- Join Date
- Aug 2005
- Location
- Pasadena, CA
- Posts
- 14
I join the chorus of those that do not like Ubuntu's scheme. there should be user accounts and the root account. It should take effort to become root.
What is really annoying is to start something that needs root privileges, then enter the root password, and have it rejected. Ah, yes, it wants my USER passwd in order to let me do a "root" thing. Not good.....
- 08-26-2005 #6There is a root account. It simply needs to be assigned a passwd.
Originally Posted by pixellany
As mentioned:
# sudo passwd root
As for preference that is another matter.
I like sudo and set it up on my Gentoo box.It may be that your sole purpose in life is simply to serve as a warning to others.
- 08-26-2005 #7But you don't have a "root" password in Ubuntu unless you enable it. There's only one password, which is fine (and it's exactly the way OS X does it, too). Why should one user have to remember two passwords? And in a multi-user environment, not every user is in the sudoer's file.
Originally Posted by pixellany
- 08-31-2005 #8Just Joined!
- Join Date
- Jul 2005
- Location
- :noitacoL
- Posts
- 51
type
then enter your root password to enable the root account. I wouldn't exactly call that "effort".Code:sudo passwd <enter>


Reply With Quote
