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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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".
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