LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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

Reply
 
LinkBack Search this Thread
Old 08-13-2005, 02:23 AM   #1
alix123
Member
 
Registered: Nov 2004
Posts: 63

Rep: Reputation: 15
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.
 
Old 08-13-2005, 02:39 AM   #2
bp12345
Member
 
Registered: Jun 2005
Distribution: Debian testing, Kubuntu 5.04
Posts: 104

Rep: Reputation: 15
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.
 
Old 06-17-2007, 04:09 PM   #3
stevod333
Member
 
Registered: Mar 2006
Location: Australia
Distribution: SUSE 10.2
Posts: 47

Rep: Reputation: 15
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.
 
Old 06-25-2007, 06:12 PM   #4
dozierc
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Rep: Reputation: 0
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
 
Old 06-25-2007, 09:49 PM   #5
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 3,991

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
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
 
Old 06-27-2007, 12:43 AM   #6
stevod333
Member
 
Registered: Mar 2006
Location: Australia
Distribution: SUSE 10.2
Posts: 47

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto login as root lmanwarren Fedora 2 04-10-2005 06:05 PM
Enable root login in wu-ftpd? Sevoma Linux - Software 5 02-04-2005 06:49 PM
auto login as root Whisky_Drinker Linux - Newbie 15 01-19-2005 04:20 PM
Auto login once as root... dano1970 Linux - General 2 10-28-2004 05:19 AM
Disable/Enable Root Login @ Console ryanstrayer Linux - Security 4 01-18-2002 04:49 PM


All times are GMT -5. The time now is 03:16 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration