Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Soterro <soterroatyahoocom>
Subject: Get status of an user account in Tru64
Date: Mon, 03 May 2004 13:04:09 +0200	[thread overview]
Message-ID: <409626c6$0$24308$4d4ef98e@read.news.ch.uu.net> (raw)

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


             reply	other threads:[~2004-05-03 11:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-03 11:04 Soterro [this message]
2004-05-03 20:30 ` Get status of an user account in Tru64 Mike Dorn
2004-05-04  4:08   ` Eric de Redelijkheid
2004-05-04  9:21     ` Soterro
2004-05-04 15:08       ` Eric de Redelijkheid
2004-05-23  8:44 ` Patrick Giblett
2004-05-24  5:47   ` TyBreaker
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