Hi,
I am currently trying to add a new user on a linux box in the %post section of the kickstart file.

%post --nochroot --log /root/post-install.log
/usr/sbin/useradd -p <ENCRYPTED_PWD> <USER>


The user however doesn't get created after I reboot the box after install. Am I missing anything ?

Any pointers will be appreciated.

Just for info. I am installing RHEL5.4 on a 64 bit box, I know this should not matter, but what the heck!!

Thanks and Regards,
Prasad Pednekar.