Re: Adding users in Kickstart?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux