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.
Root login is disable by default in Ubuntu. You shouldn't login as root in any case. You can do everything needed with terminal. Ubuntu used IIRC sudo command which gives root access to that command. Or you can just type "su" in terminal and give root password and then do your stuff.
Another but not recommended thing is to enable root login in KDE. I don't remember at the moment how that was done but you needed to edit some file and add line AllowRootLogin=enable there and then you could login as root into KDE.
This is what I hate about UBUNTU and KUBUNTU
You are not supposed to login as root
yOU are supposed to use SUDO
The first usercreated at install time has the power to use sudo
I cannot recall if sudo is made available in the GUI but if yu open a terminal and instead of saying SU etc yu type SUDO and the PASSWORD OF THE FIRST CREATED user
The problem is that there are places that not even SUDO can go
In order to fix those problems yu need to create a root login
To do that you have to change some start up settings so that yu can disable sudo because it is sudo that blocks ROOT login
I thru ubuntu out long ago and did not keep record of how it was achieved to get root login
I got the info of the web from a site where they were discusiing the merits and demerits of SUDO
Go to google and search for SUDO
The problem is that there are places that not even SUDO can go
In order to fix those problems yu need to create a root login
Please name one of those, because I've been using Ubuntu for nine months, and I've yet to encounter a single instance in which I've had to enable a root login.
You may not necessarily need to log in as root (at the gdm login screen), but it is nice to be able to fiddle around at the command prompt as root sometimes for system maintenance or whatever without having to type your password after every single command.
Jeff
You may not necessarily need to log in as root (at the gdm login screen), but it is nice to be able to fiddle around at the command prompt as root sometimes for system maintenance or whatever without having to type your password after every single command.
Jeff
You don't need to type your password after every single command--just once. Then you're good until you close your terminal window, usually.
You don't need to type your password after every single command--just once. Then you're good until you close your terminal window, usually.
Not really..., actually you have to re-type the pw after the given timespan has expired. This timspan is, i think, five minutes by default but can be configured in '/etc/sudoers' with the 'timestamp_timeout' keyword. But nevertheless, a root-login is never necessary, because you can even open a "real" root-shell, with all its privileges, without an explicite root-pw:
Not really..., actually you have to re-type the pw after the given timespan has expired. This timspan is, i think, five minutes by default but can be configured in '/etc/sudoers' with the 'timestamp_timeout' keyword.
Thanks for the clarification. Nevertheless, the point remains: you don't have to retype your password after every sudo command.
I'm needing some help...
After I changed my root pass (by doing "sudo passwd") in Ubuntu 5.10, I can no longer use sudo command, only su. When I try sudo, it says the password is incorrect, which is not since I can login with su.
What can I do to fix this? I'm kinda used to sudo and it's safier then loggin in as su (in theory...).
please read the following . it cured all my probs, i can now log into a gui desktop as root and do as much damage as i please . ah the wonders of open source and freedom of choice .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.