ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
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.
How can I enable auto login for root user in redhat ES AS and WS 3.0 versions.
Basically i want the when i boot linux it should not prompt me to enter login and password. every time it after a reboot or shutdown it should auto login as root.
Are you using GDM or KDM?
In KDE, with KDM, open the control panel and go down to 'system administration', under that select 'login manager' and click 'administrator mode' (unless you are root already). From there you can enable auto-login and password-less login for certain users.
For GDM, you can edit /etc/gdm/gdm.conf and you probably can find an option to allow that somewhere.
I would strongly reccommend that you do not do that, as logging in as root automatically, and without a password esentially bypasses all the security on your system (except perhaps a firewall), so anyone who has physical access ro can hack into it from the web can see, execute, and modify everything on your computer. If you want the convenience of auto-login, do so as a normal user, and actually you should use only a normal user for almost all tasks.
Anyone have any idea how to do it in runlevel 3 (text only, no GUI) on Fedora core 6?
I agree it should really never be done for security reasons, but in my situation, the machine will almost never be on a network and will not have an easily accessible keyboard or monitor... and it wouldn't be a big deal if anyone did get into it.
Anyone have any idea how to do it in runlevel 3 (text only, no GUI) on Fedora core 6?
I agree it should really never be done for security reasons, but in my situation, the machine will almost never be on a network and will not have an easily accessible keyboard or monitor... and it wouldn't be a big deal if anyone did get into it.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Why would you want to do that anyway. If it is not on the network and not easily accessible why do you need to have a terminal logged in as root?
Linux runs just fine without anyone logged in. Logging in is just establish a user interface between the shell and a human being. You can do that on a terminal. Once, twice, six times ... or none.
Why would you want to do that anyway. If it is not on the network and not easily accessible why do you need to have a terminal logged in as root?
Linux runs just fine without anyone logged in. Logging in is just establish a user interface between the shell and a human being. You can do that on a terminal. Once, twice, six times ... or none.
jlinkels
Good point...
The intended purpose of the system is an in car PC, a replacement of the original EFI control - A service will monitor engine statistics and output the injector pulse and any error status codes via one or two LED's.
Inputs are also accepted for adjustment/tuning purposes. It has just occurred to me that since nearly all I/O will be through the parallel port (no keyboard will be connected), the entire control system can be run as a service... as long as I can SSH into the system if necessary, there should never be any need for a local login.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.