From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,69a2dfeb4548aac7 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-01-19 08:33:22 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!support.neth.hp.com!news.cup.hp.com!not-for-mail From: Robert Katz Newsgroups: comp.unix.tru64 Subject: Re: useradd command question Date: Sun, 19 Jan 2003 09:33:43 -0600 Organization: SSO-IT, Hewlett-Packard Co. Message-ID: References: <3E27B33C.7000702@fu-berlin.de> NNTP-Posting-Host: 16.47.221.12 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021212 X-Accept-Language: en-us, en In-Reply-To: <3E27B33C.7000702@fu-berlin.de> Xref: archiver1.google.com comp.unix.tru64:9404 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