From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,5ed1576afd890c50 X-Google-Attributes: gidfa528,public Path: controlnews3.google.com!news1.google.com!news.glorb.com!wn13feed!worldnet.att.net!216.196.106.140!border1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail From: "TyBreaker" Newsgroups: comp.unix.tru64 References: <409626c6$0$24308$4d4ef98e@read.news.ch.uu.net> Subject: Re: Get status of an user account in Tru64 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-NNTP-Posting-Host: bud.sge.net Message-ID: Date: Mon, 24 May 2004 05:47:53 GMT NNTP-Posting-Host: 152.91.10.200 X-Complaints-To: andrew.clark@sge.net X-Trace: news.optus.net.au 1085377673 152.91.10.200 (Mon, 24 May 2004 15:47:53 EST) NNTP-Posting-Date: Mon, 24 May 2004 15:47:53 EST Organization: 90East - reports relating to abuse should be sent to andrew.clark@sge.net Xref: controlnews3.google.com comp.unix.tru64:66 I believe any non-empty string less than 6 chars also invalidates it on similar algorithmic grounds. "Patrick Giblett" wrote in message news:lo_rc.35$MU2.29@newsfe4-gui... > If you don't turn on the trusted features then there is no such thing as > password expiry > What you have in /etc/passwd & /etc/group is it. > > I believe than putting a * in the login field invalidates the MD5 hashinf > algorythm for password validation and hence stops login. There may be > otheways but this seems to be the standard way to do it > > "Soterro" wrote in message > news:409626c6$0$24308$4d4ef98e@read.news.ch.uu.net... > > Hello, > > > > I'm interested to know if there's a way to ask for the status of a > > certain user account from within a script. The machine is not having the > > trusted features enabled. My question is not related to a specific > > version of Tru64, I would appreciate something that works since 4.0F or > > such if possible of course. > > > > As far as I noticed, the administrative lock puts a 'Nologin' string in > > front of the password entry in the passwd file, so this could be a > > hands-on solution. However I don't know where to look whether the > > account (and its password) is expired. > > > > Is there a command allowing to get the user's status or do I have to > > parse myself some (which?) configuration files? dxaccounts doesnt say > > anything about expiration, by the way (and wouldn't be a solution anyway > > as I can't use it from a script). > > > > Thanks a lot, > > S > >