Get status of an user account in Tru64
From: Soterro (soterroatyahoocom)
Date: 05/03/04
- Previous message: Peter da Silva: "Re: gethostbyname returns only single IP address"
- Next in thread: Mike Dorn: "Re: Get status of an user account in Tru64"
- Reply: Mike Dorn: "Re: Get status of an user account in Tru64"
- Reply: Patrick Giblett: "Re: Get status of an user account in Tru64"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 03 May 2004 13:04:09 +0200
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
- Previous message: Peter da Silva: "Re: gethostbyname returns only single IP address"
- Next in thread: Mike Dorn: "Re: Get status of an user account in Tru64"
- Reply: Mike Dorn: "Re: Get status of an user account in Tru64"
- Reply: Patrick Giblett: "Re: Get status of an user account in Tru64"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|