TotalNET Advanced Server 5.2 Reference Manual

Examples

  1. Use the following command to allow the superuser to create or modify the password of user harold for all supported realms:


    tnpasswd -u harold

    The following prompts appear:


    New password:
    Re-enter new password:
  2. Use the following command to create or modify the password of user harold for the LM-NT-OS/2 realm:


    tnpasswd -u harold -r NB

    The following prompts appear:


    Changing password for harold
    New password:
    Re-enter new password:
  3. Use the following command to delete the password of user harold and deny harold access from all three realms:


    tnpasswd -d harold
  4. Use the following command to delete the password of user harold from the NetWare realm:


    tnpasswd -d harold -r NW
  5. User harold can use the command below to change his password. He can use either the -u option or no options.


    tnpasswd [-u harold]

    The following prompts appear:


    Changing password for harold
    Old password:
    New password:
    Re-enter new password:
  6. Use the following command to specify the logon script win95.bat for the user harold in the LM-NT-OS/2 realm:


    tnpasswd -u harold -r NB -s win95.bat
  7. Use the following command to change the password of DCE user spiffy:


    tnpasswd -u spiffy -r DCE

    The following prompts appear:

    DCE privilege user account:
    DCE privilege user password:

    Log in as the DCE administrator. The following prompts appear:


    Changing password for spiffy
    Old password:
    New password:
    Re-enter new password: