Adding users in Kickstart?

Rodolfo J. Paiz rpaiz at simpaticus.com
Fri Sep 24 00:56:06 UTC 2004


On Thu, 2004-09-23 at 14:33, Michael Halligan wrote:
> /usr/sbin/groupadd -u 1120 michael
> /usr/sbin/adduser -u 1120 -g 1120 michael
> /usr/bin/chfn -f "Michael T. Halligan" michael
> 

What's wrong with useradd?

"/usr/sbin/useradd -c "Michael Halligan" michael"

Group and user numbers will be the same, starting at 500 and increasing.
You can also set specific group and user numbers if you wish (you do
have to run groupadd first then) but I don't know whether this is a
requirement for you.

Cheers,

-- 
Rodolfo J. Paiz <rpaiz at simpaticus.com>
Simpaticus.com





More information about the redhat-list mailing list