* useradd command question
@ 2003-01-17 7:39 Uwe Mueller
2003-01-19 15:33 ` Robert Katz
0 siblings, 1 reply; 3+ messages in thread
From: Uwe Mueller @ 2003-01-17 7:39 UTC (permalink / raw)
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.
Uwe
___________________________________
Dr. Uwe M�ller
Proteinstrukturfabrik
c/o Bessy GmbH
Albert-Einstein-Stra�e-15
D-12489 Berlin
phone: +49-(0)30-6392 4974
fax : +49-(0)30-6392 4975
mailto:umue@fu-berlin.de
http://www.proteinstrukturfabrik.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: useradd command question
2003-01-17 7:39 useradd command question Uwe Mueller
@ 2003-01-19 15:33 ` Robert Katz
2003-01-19 15:37 ` Robert Katz
0 siblings, 1 reply; 3+ messages in thread
From: Robert Katz @ 2003-01-19 15:33 UTC (permalink / raw)
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
--
Regards,
---Robert
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: useradd command question
2003-01-19 15:33 ` Robert Katz
@ 2003-01-19 15:37 ` Robert Katz
0 siblings, 0 replies; 3+ messages in thread
From: Robert Katz @ 2003-01-19 15:37 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-01-19 15:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox