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.
Hi,
After being unable to login as root after several method I finally managed to delete my own account too. Now there is only one account which is root but I am unable to login both in GENOME and KDE.
Please help me on allowing login as root by any terminal command coz I can only login using recovery mode as root. I am using Ubuntu 6.06 LTS.
Thank you all.
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634
Rep:
Quote:
Originally Posted by Bordeaux
Hi,
After being unable to login as root after several method I finally managed to delete my own account too. Now there is only one account which is root but I am unable to login both in GENOME and KDE.
Please help me on allowing login as root by any terminal command coz I can only login using recovery mode as root. I am using Ubuntu 6.06 LTS.
Thank you all.
HI! I'm sure that you are aware of the dangers involved in working as root user, so I'll skip that lecture.
If you go to System>Administration>Login Window, click on the 'Security' tab, you will see a line that reads, "Allow local system adminstrator login". Check the box next to it and close the window.
Then go to System>Administration>Users and Groups, double-click on 'root'. Check the box that reads, "Set password by hand" and enter your root password. click "ok" and your set!
I wish that you had not deleted your 'user account', because I cannot tell you how to get that back! So until then, BE CAREFUL!
Last edited by randell6564; 09-04-2006 at 03:45 PM.
You can login as a root in command line without any problem. Since you have deleted your account you first have to bring it back. So when you see GDM press
Code:
Ctrl+Alt+F1
, than you should be in console, asked to login.
Type root, and as a password type your password which you set up during installation.
Next type
Code:
adduser yourname
, and some informations
When you do this just logout and login as usual.
Now you will be able to enable logging in as a root in KDE or GNOME.
To do this go to System -> Administration -> Gnome Display Manager, and on Security tab choose 'allow system administrator login',
next go to System -> Administration -> Users where you have to click on root and choose properties. In password section choose manual, and set one, after this on last tab check all the options.
After all this you should be able to login as a root without any problems
PS. You might have to stop gdm after step 1 ( Ctrl+ALt+F1 and login) because sometimes it activates by himself, to do this right after logging type /etc/init.d/gdm stop
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634
Rep:
Quote:
Originally Posted by extrasolar
lol I assumed you were able to log in as root. But then I read that you couldn't. Sorry.
Yeah, but I'm not the one with the problem! (I mean.,I got a WHOLE lot of problems, Mostly not computer related!), but UHHUM .,Thats not the issue here, LOL!
Thank you all, what actually happened is when I created a new user and logged in by it I could not find "Users and Groups" under Administration. But I'll try that again. Thanks again for these quick replies.
well,the same again. When I logon using the account I created by "adduser" I can see neither "Users and Groups" nor "Login Screen window". I have no idea where those all went away, including synaptic package manager. I guess there is something relating to my permissions. Is that another problem?
Oh one more, I can see those (Users and Groups etc.) in KDE and whenever I click it asks for password to run the command "gksu user-admin" but whatever the passwd(of root and the new a/c) I give it either shows "Wrong password" or "connection with su failed...." or something or "su failed with an error" but displaying no error.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.