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

Re: [cobalt-users] Manually adding users



----- Original Message -----
From: "George Ewing" <george@xxxxxxxxxxxx>
To: "Cobalt" <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Tuesday, April 17, 2001 9:39 PM
Subject: [cobalt-users] Manually adding users


> Can anyone give the the command to create users from the command prompt?
>
> This is for a raq3
>
> Cheers
> G
>
> George Ewing

It actually depends on wether you just wish to add a user or add a user to a
domain account.

to just add the user use 'useradd'

if you are needing to add a user to a domain account then you would have to
use the 'user.pm' in a script.

the syntax for user.pm is simple:

user_add("login","full name","password
'cleartext'","quota,shell","group(domain)")

the user.pm would create the user, add it to the password file, add it to
the htpasswd file, and create a home directory under the the given group ID
(or domain if you like).

chuck