We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

auto login to RedHat 6

bojeff30
bojeff30 asked
on
Medium Priority
1,452 Views
Last Modified: 2013-12-15
Hi experts, could someone tell me if  kickstart provide an option to automatically login to Red Hat 6.
I'm able to add a root password to my kickstart file, which bring me to the login screen. I would like my system to be able to boot up into RedHat without typing in the login’s user\password. If this is not possible using kickSart, what other method would you suggest?
Comment
Watch Question

CERTIFIED EXPERT

Commented:
What exactly are you trying to accomplish?

The purpose of Kickstarts is to automate your installation.  You logon after your installation is done.  If you want to run some scripts in kickstart to customize your installation, there is %post section of kickstart that would do that.  If you are more specific, perhaps I could answer in a more detail

Author

Commented:
I would like to bypass the login prompt.  I’m able to create a kickstart file that installs and setup my system, but upon firstboot I have to login.  I would like my system to go into the desktop instead of requesting the user login. i want to know if there is an option for kickstart that provides an auto-login process.  If not, how can I achieve this process?
CERTIFIED EXPERT

Commented:
There are two things that you would like to include in your kickstart

# Run the Setup Agent on first boot
firstboot --disable

#Reboot itself
reboot

Author

Commented:

i'm alreayd usign both of the options below.  With them, i still have to login.
 
# Run the Setup Agent on first boot
firstboot --disable

#Reboot itself
reboot
CERTIFIED EXPERT

Commented:
When the system comes up, you always have to logon to it.  I have a very long experience in Redhat deployment and I don't know what you are talking about and for what reason.  Kickstart only installs the system, and once it is installed you have to log on to it.

Do you want to consider system going into run level 1, that way, you will not have to logon to it.

If you think we are not on the same page, could you provide me with a screenshot of what you want to bypass.  Otherwise it sounds like what you are trying to do is not possible.

Author

Commented:
I wanted to know if it was possible to boot straight into the desktop without logging-in using kickstart file.  It seems like you’re saying that kickstart does not provide an option for this process. If this is the case,  are there any other ways to add an auto-login feature.  Suse  provides an autoinst.xml that performs this function of auto-login, I was wondering if Redhat had something similar.  
CERTIFIED EXPERT
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
CERTIFIED EXPERT

Commented:
Ok, here is the deal.  It is definitely not kickstart.  It is GNOME or KDE user manager that does it.  You should find this option in KDE or GNOME desktop whatever you are using.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.