Adding a User

Use the following procedure to add a user account:

  1. Log in as root and type your password.

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

  2. Execute lsmsdb with the adduser command option:

    $ cd $LSMS_TOOLS_DIR

    $ lsmsdb -c adduser -u <username>

  3. When the following prompt appears, enter the user password.

    Enter password:
    

  4. When the following prompt appears, enter the user password again.

    Re-enter password:
    
    Note: If you did not enter the same password in Steps 3 and 4, the following warning is displayed:
    WARNING: Passwords must match.
    #
    
    In this case, go back to Step 1; otherwise, proceed with Step 5.

  5. When the following prompt is displayed, select the LSMS group name (lsmsadm, lsmsuser, lsmsview, lsmsuext, or lsmsall) for the user by entering the corresponding number in the CHOICE field, then press <return>.

    Select Secondary Permission Group From List:
    1) lsmsadm
    2) lmsuser
    3) lsmsview
    4) lsmsuext
    5) lsmsall
    CHOICE:
    

  6. When the following prompt appears, enter Y or N in the CHOICE field to indicate whether you want to enter an expiration date for this login.

    Set expiration date? Y/N
    CHOICE:
    
    Note: If you enter an expiration date, the user will not be allowed to login to this account after that date.
    If you enter Y in the CHOICE field, the following prompt appears:
    Enter expiration date (mm/dd/yyyy):
    

  7. When the following prompt appears, enter Y or N in the CHOICE field to indicate whether you want to enter an Inactivity Value (in days) for this account.

    Set inactivity value? Y/N
    CHOICE:
    
    Note: If you enter a value (in days), the account will be declared invalid and the user will not be allowed to use that account for the number of days specified.
    If you enter Y in the CHOICE field, the following prompt appears:
    Enter a number (of days):
    

  8. If any other error or warning message displays, contact the My Oracle Support (MOS).
  9. Repeat on other server, if desired.