Get status of an user account in Tru64

From: Soterro (soterroatyahoocom)
Date: 05/03/04

  • Next message: Mike Dorn: "Re: Get status of an user account in Tru64"
    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


  • Next message: Mike Dorn: "Re: Get status of an user account in Tru64"

    Relevant Pages

    • Need some MySQL query help...
      ... to help organize and automate user account creation in a large HP-UX ... passwd entry to the current database entry. ... the script simply proceeds to the next entry. ... exactly how to test for inequality of all the variables in the passwd file. ...
      (perl.dbi.users)
    • Re: Get status of an user account in Tru64
      ... If you don't turn on the trusted features then there is no such thing as ... > certain user account from within a script. ... > front of the password entry in the passwd file, ... > hands-on solution. ...
      (comp.unix.tru64)
    • Re: Im new to scripting a I working on a project that I need some help with.
      ... After that the script ... >> that the user account is not valid. ... > it to the Administrators group: ... If the user does not have it, maybe a RunAs solution ...
      (microsoft.public.scripting.vbscript)
    • Re: Memory consumption PowerShell
      ... The mechanism of the Identity Management system (it is Novell Identity ... And we could initiate to run a script oout side the IDN 3.0. ... is the case we want to do, if a new user account was created. ... memory. ...
      (microsoft.public.windows.server.scripting)
    • Re: Im new to scripting a I working on a project that I need some help with.
      ... > on the local network taken care of, I can run a batch file that can do a run ... > that the user account is not valid. ... In the link below is a script that creates a new user account and adds ... Different RunAs products listed here, ...
      (microsoft.public.scripting.vbscript)