Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 guys. I am using Fedora Core 9 and I am wondering if there is any way that I can make my system auto logging as root. Sorry for the ignorance newbie
You REALLY don't want to log into root if you don't have to (and you really DON'T have to). If you need to do something as root, a permission dialog will pop up asking for the root password. If you enter it, you can do whatever is needed to do as root without being logged in as root.
Linux is NOT Windows. In Windows you HAVE to log in as an administrator to do almost anything. In Linux this is NOT the case. This is one of the things that makes Linux more secure than Windows. In Windows, if you are logged in as administrator, EVERYTHING you run has the potential to totally take over your entire system. The same is true if you run as root in Linux. If however, you run as a normal user, the only thing that can be taken over is your account. And, you can still do all the things that are needed to administer your system by entering the root password (which has a timeout associated with it, so you don't have to do it for every command).
If you are so determined to log in as root as your standard user and you go online, YOU WILL BE HACKED. If this is for some computer that you keep in a closet and it will never go on the internet, then O.K.
I have not logged into a root GUI account in probably 10 years (and even that was only for a short period of time).
well thanks but it really is a computer locked in a closet to which only I have acces and i m not surfing with it. But I trully need to log in as root automatically... Is there any way?
What that need might be. Amazingly enough only new to *nix seem to have "truly need to login as root". Maybe we can help you to eliminate this need and set up your computer in a sane way?
The answer depends very much on what you would like to log in to.
For a regular tty, you can look for the lies that set up the tty's in /etc/inittab (typically near the bottom) and replace the line that sets up tty1 (for example) with something like:
If you truly "need" to log in as root, your system isn't configured correctly. It is much better (and in the long run easier) to reconfigure your system to remove that need. I'll be more than happy to help you do that. I'm not going to tell you how to log into a GUI automatically because someone else who isn't using a computer locked in a closet may find the information, and I want my stance to be perfectly clear, "IT IS A VERY VERY VERY BAD IDEA!!!".
Also, I didn't say "surfing with it". I said "never go on the internet", meaning, you are in no way networking this computer.
HTH
Forrest
p.s. Search Google for "autologin root" if you really don't want to take our advice.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.