Setting the User Level Password Timeout Using the Command Line

Use the following procedure to set the system level password timeout using the command line:

  1. Log in as lsmsadm and type your password.

    For more information, see Logging In to LSMS Server Command Line.

  2. Execute lsmsdb with the usrpwexp command option:

    $ cd $LSMS_TOOLS_DIR

    $ lsmsdb -c usrpwexp -u <username>

  3. When the following prompt appears, enter Y.

    Configured value: -1
    Set password expiration interval? Y/N
    
    Note: A configured value of -1 indicates the password timeout has not been configured. A configured value of 0 indicates the password timeout has been configured and the password is valid for an indefinite period of time.

  4. When the following prompt appears, enter the password timeout interval.

    Set maximum number of days before password expires for the user.
    Valid values are 0 (never expire) or 1 to 180 days.
    Enter value: