Programming This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-13-2005, 02:23 AM
|
#1
|
|
Member
Registered: Nov 2004
Posts: 63
Rep:
|
How to enable auto login for root in Redhat
Hii all
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.
|
|
|
|
08-13-2005, 02:39 AM
|
#2
|
|
Member
Registered: Jun 2005
Distribution: Debian testing, Kubuntu 5.04
Posts: 104
Rep:
|
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.
Last edited by bp12345; 08-13-2005 at 02:44 AM.
|
|
|
|
06-17-2007, 04:09 PM
|
#3
|
|
Member
Registered: Mar 2006
Location: Australia
Distribution: SUSE 10.2
Posts: 47
Rep:
|
Ithout a GUI?
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.
Last edited by stevod333; 06-17-2007 at 04:10 PM.
|
|
|
|
06-25-2007, 06:12 PM
|
#4
|
|
LQ Newbie
Registered: Nov 2006
Posts: 4
Rep:
|
Quote:
|
Originally Posted by stevod333
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.
|
try this link here
http://linuxgazette.net/issue27/kodis.html
|
|
|
|
06-25-2007, 09:49 PM
|
#5
|
|
Senior Member
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 3,832
|
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
|
|
|
|
06-27-2007, 12:43 AM
|
#6
|
|
Member
Registered: Mar 2006
Location: Australia
Distribution: SUSE 10.2
Posts: 47
Rep:
|
Quote:
|
Originally Posted by jlinkels
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.
Thanks for the eye-opener 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:22 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|