Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
i have install new centOS 5.2 machine with "Gnome" ,but when login it gives error "root logins are not allowed"
i am facing this issue first time.
i have gone through many threads in many forums.
all are about not to use root login due to security thread.
but not getting the right solution to enable root login.
If this message appears while you are trying to log in from a normal desktop graphic display, it means you cannot log into a GUI desktop as root. The solution? Don't try to log into a GUI desktop as root.
If this message appears while you are trying to access the system via SSH or Telnet from a different system, it means you cannot log on as root from anything but a local terminal. This is a security precaution.
So please tell us the circumstances. Don't be vague.
1. Where are you when you see this message? On the system or on a different system?
2. Does this message appear during graphic login, or from a shell?
3. Why do you want to get around this obvious security feature?
If you are logging in from the graphical login and getting this error, you need to go to:
system -> Administration -> Login Screen
And under the security tab, make sure "Allow local system administrator login" is enabled.
If from text, what shylock said should work. If these aren't the answer, please let us know what way you are using to log in.
But, it is probably better to log in as yourself and then run whatever you need to do as root through an "su" or an "sudo".
i simply trying to login from graphical login screen just after system boot( or u can say runlevel 5).it's a fresh installation.
>not from shell,ftp,ssh or any other mode.
and i have installed many times same way, but didn't get any issue.
so wt can be the issue.
to newen52>
there is no Login Screen tab in System>Administration
i am using centOS 5.
Ok, I'm using CentOS 5.3. I didn't think it would be that different. So, I ran the program and checked which process the menu option started. Try running gdmsetup.
As lutsp said, root login from GUI is disabled for a (security) reason. It's not recommended to enable it.
You can do anything you need at the GUI by selecting the relevant menu option; if you need root, it'll ask for the root passwd.
You can also do it from the cli by doing
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.