shexp man page on Ultrix

Man page or keyword search:  
man Server   3690 pages
apropos Keyword Search (all sections)
Output format
Ultrix logo
[printable version]

shexp(1)							      shexp(1)

Name
       shexp - display password expiration information for a user

Syntax
       shexp [-q] [username]

Description
       The  command  is	 used to display a user's password expiration informa‐
       tion.  The specified username, or logname if no username	 is  supplied,
       is converted to a UID by searching through the passwd file.  The UID is
       then used to look up the user's entry in the Auth Data Base.  The pass‐
       word expiration information is then printed out in format.
       % shexp
       Expires Tue Dec	6 10:49:18 EST 1988
       If  the	password has already expired the word Expires will be replaced
       with the word Expired. If password expiration is disabled for the  par‐
       ticular user in question the output of will be Never expires.

Options
       -q   Instead of displaying the expiration date and time in format, out‐
	    puts it as three decimal numbers: the minimum  password  lifetime,
	    the maximum password lifetime, and the password modification time.
	    All three numbers are displayed as they are found in the database.

Restrictions
       Only the super-user may obtain information about users with UIDs	 other
       than the real UID of the invoking process.

Diagnostics
       User not found in passwd data base.
       There is no entry in for the specified username.

       Cannot stat auth file.
       The database is missing (security features may not be enabled).

       Insufficient privilege.
       An  insufficiently  privileged  user  is asking for information about a
       username with a UID different then their current real-UID.

       An exit value of 0 indicates a successful  operation,  any  other  exit
       status indicates an error.

Files
See Also
       passwd(1), getauthuid(3), auth(5)
       Security Guide for Users

								      shexp(1)
[top]

List of man pages available for Ultrix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net