I'm attempting to use pw adduser to add a new user to the system and
would like confirmation that the following is the correct way to set
the user's password at the same time:
echo password | \
pw adduser -q -h - -u user -g group -s shell -d /home/user -c comment
Can anyone also tell me the
On Tue, Jul 01, 2003 at 07:12:49AM +0100, Jez Hancock wrote:
I'm attempting to use pw adduser to add a new user to the system and
would like confirmation that the following is the correct way to set
the user's password at the same time:
echo password | \
pw adduser -q -h - -u user -g group
Jez Hancock wrote:
I'm attempting to use pw adduser to add a new user to the system and
would like confirmation that the following is the correct way to set
the user's password at the same time:
echo password | \
pw adduser -q -h - -u user -g group -s shell -d /home/user -c comment
Can anyone also
Hi Uwe,
Thanks for the reply.
On Tue, Jul 01, 2003 at 09:25:28AM +0200, Uwe Doering wrote:
Here is what I use:
echo 'password' | \
pw useradd -q -h 0 -n user -g group -s shell -d /home/user \
o
-c 'comment' -m
Note that feeding the password to 'pw' via the command line (with