Adding users in Kickstart?

Harry Hoffman hhoffman at ip-solutions.net
Thu Sep 23 20:38:19 UTC 2004


Michael,

groupadd takes a "-g" flag, not a "-u" flag. This, most likely, is 
causing adduser to fail.

HTH,
Harry

Michael Halligan wrote:

>I'm having a weird problem getting users to add in kickstart properly..
>
>Right after Post I have this  :
>
>/usr/sbin/groupadd -u 1120 michael
>/usr/sbin/adduser -u 1120 -g 1120 michael
>/usr/bin/chfn -f "Michael T. Halligan" michael
>
>/usr/sbin/usermod -p 'mypasswordstringhere' michael
>echo 'michael  (configuration here)' >> /etc/sudoers
>
>then a few more users added that way.
>
>The sudoers entry happens properly, but the users don't get added during the
>install. Is there something special I have to do to install users while
>kickstarting? I've tried both aduser and useradd.
>
>Michael
>  
>





More information about the redhat-list mailing list