adding users

Tim ignored_mailbox at yahoo.com.au
Wed Jun 28 05:25:54 UTC 2006


On Tue, 2006-06-27 at 15:25 -0400, Margaret_Doll wrote:
> useradd -u 515 -g 100 -c "The Name of the User" -d /home/directory  
> UserAccountName
> 
> where -u is the user's unique id
>              -g is the group to which he/she will belong
> 
> You just have to create the passwd for the user after this.
> 
> I do a "tail" on /etc/passwd so I can determine the next "-u" number
> to use.

Ordinarily, if you hadn't specified "-u 515" (or another number) in the
useradd statement, the system would pick the next highest available one
by itself.

-- 
(Currently running FC4, occasionally trying FC5.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.




More information about the fedora-list mailing list