Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-19-2005, 09:33 AM   #1
Registered: Oct 2003
Posts: 74

Rep: Reputation: 15
adding a user during kickstart installation

I'm trying to add a user during a kickstart installation of Redhat Enterprise 4. Kickstart installation works fine and it appears that my user is even added, but I am unable to log in with my user after successfully installing RHEL. My encrypted password appears in /etc/shadow, but I still can't log in. My ks.cfg looks like this:


/usr/sbin/useradd -m <user> -p --<encrypted password>

Is there something wrong with my format? Thanks.
Old 12-19-2005, 09:59 AM   #2
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Your useradd cmdline should look like "/usr/sbin/useradd -p <encrypted password> <username>" The extra "--" that you had is probably being added to the password. Also, "-m" is used to specify the home directory (default is /home/<username>).

Good luck.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
installation of RHEL 4, Update 2 via kickstart triley Red Hat 3 12-20-2005 12:56 AM
Kickstart Installation hansi umayangan Red Hat 0 04-08-2005 12:20 AM
Mirroring via Kickstart installation scilec Linux - General 1 12-16-2004 06:02 PM
Redhat Kickstart Installation Colossalboom Linux - Software 0 08-21-2003 07:56 AM
kickstart installation new2linux Linux - Software 2 04-15-2003 06:08 PM > Forums > Linux Forums > Linux - General

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

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