Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Robert Katz <katz@hp.com>
Subject: Re: useradd command question
Date: Sun, 19 Jan 2003 09:37:07 -0600	[thread overview]
Message-ID: <b0egn4$4f1$2@web1.cup.hp.com> (raw)
In-Reply-To: <b0eggo$4f1$1@web1.cup.hp.com>

Robert Katz wrote:
> Uwe Mueller wrote:
> 
>> Dear all,
>> I am currently trying to automate the NIS user account creation. 
>> Therfore I have played around with the useradd command. The following 
>> command:
>> useradd -c 'xxxx' -H /pxhome -m  -p -s /bin/tcsh -u 302 -g pxuser -x 
>> distributed=1 px9
>> creates the user : px9 and a new home directory /pxhome/px9 and asks 
>> for a password for this new account.
>> Unfortunately this account will then be locked.
>> What do I have to do with useradd to prevent locking.
>>
> 
> useradd -c ..  .... -x administrative_lock_applied=0 px9
> 
If the account exists,

     # usermod -x administrative_lock_applied=0 px9

-- 
Regards,

---Robert



      reply	other threads:[~2003-01-19 15:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-17  7:39 useradd command question Uwe Mueller
2003-01-19 15:33 ` Robert Katz
2003-01-19 15:37   ` Robert Katz [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox