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:
%post /usr/sbin/useradd -m <user> -p --<encrypted password> Is there something wrong with my format? Thanks. |
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. |
All times are GMT -5. The time now is 05:47 AM. |