From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,5ed1576afd890c50,start X-Google-Thread: 106cd7,a66ecd4dd77c81b3,start X-Google-Attributes: gidfa528,gid106cd7,public Path: controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed.kabelfoon.nl!195.129.110.21.MISMATCH!bnewsfeed00.bru.ops.eu.uu.net!bnewsinpeer01.bru.ops.eu.uu.net!bnewspost00.bru.ops.eu.uu.net!emea.uu.net!read.news.ch.uu.net!not-for-mail Date: Mon, 03 May 2004 13:04:09 +0200 From: Soterro User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.unix.tru64,fa.alpha-osf-managers Subject: Get status of an user account in Tru64 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <409626c6$0$24308$4d4ef98e@read.news.ch.uu.net> NNTP-Posting-Host: fw-geneous.iwrite.ch X-Trace: 1083582150 read.news.ch.uu.net 24308 217.118.200.162:4126 X-Complaints-To: abuse@ch.uu.net Xref: controlnews3.google.com comp.unix.tru64:26 fa.alpha-osf-managers:13 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