UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
on ubuntu(which i'm guessing is your distro), your root password is the password for your user. example: my user name is soppy. my password is piglet(not really. just an example). when i do
Code:
sudo anything
for the password i put piglet. thats the way a default ubuntu install works. hope I help!
By default, the root account is disabled in Ubuntu**. (Your user password is NOT the root password--it is a sudo password, and give you only the access defined in the sudo configuration)
To enable the root account, simply do this in a terminal:
sudo passwd root
You'll be prompted for your USER password, and then you will be prompted to enter the new ROOT password.
**A complete departure from Unix and Linux standards, and--IMHO--the only real flaw in Ubuntu.
i guess i just chose the wrong words. thanks for clarifying. i meant to say that it lets you EXECUTE root commands. as usually there is no root user used. it was early in the morning...sorry for any confusion.
(pix)
> A complete departure from Unix and Linux
> standards, and--IMHO--the only real flaw
> in Ubuntu.
Wow, if it's the only flaw that's really saying something, especially since it can be worked around with a single command.
I read somewhere in Ubuntu literature that the reason it was set up with no root account is -- surely there must be other reasons as well -- for security purposes. That is, to hack into an administrator's account would require compromising both the username and the password rather than the password only, as "root" is pretty easy to guess. I dunno, I'm a newbie and no expert. Would there have been any other reasons?
Thanks for "sudo -i". That might almost make me like Ubuntu again.....
Splitting the semantic hair, I use "flaw" to describe this feature of Ubuntu only because it is a departure from the norm and--to me at least--is an irritant. I had never thought about the security ramifications.
In the future, perhaps I should just say I don't like this "feature"......
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.