This command creates, modifies, and deletes TAS users' passwords.
TNHOME/usr/bin
tnpasswd [-u username] [-r realm...] [-s script...] tnpasswd -d username [-r realm...]
You must have the TAS-DCE package installed on your system to use this command:
tnpasswd [-u username] [-r realm...] [-s script...] [-g DCE-adm-name] [-h DCE-adm-passwd]
-u username |
Specify the name of the user. The superuser may use this option to change any user's password. |
-r realm |
Specify the name of the realm. |
-s script |
Specify a startup program for when a Windows 95 client first logs on. This script must exist in a referenced volume or an attach point named netlogon in the LM-NT-OS/2 realm. |
-d username |
Specify the user name you want to delete or deny realm access. |
-g DCE-adm-name |
Specify the DCE privileged user's name. You must use this parameter when changing a DCE user's password using -r DCE. |
-h DCE-adm-passwd |
Specify the DCE privileged user's password. You must use this parameter when changing a DCE user's password using -r DCE. |
Any TAS user can create a password, but only the superuser root can delete passwords. When the superuser deletes a user's password for a realm, the user does not have access to that realm. Only the superuser can reinstate a deleted password for a realm.
Users can create or modify their own passwords. If a user has different passwords for different realms, an error message appears when the user tries to change the password across all realms simultaneously.
When a user changes a password, the system prompts for the old password, the new password, and re-entry of the new password. The system does not prompt for the existing password when the superuser modifies or deletes the password of a TAS user.
You can configure a null password by entering a carriage return at the password prompt.
When you set the client-encryption attribute to on, only users who have entries in the TAS password file can access TAS realms. When you set client-encryption to off, only users who have entries in the UNIX password file can access TAS realms.
When you delete a TAS password, you do NOT delete the corresponding DCE and UNIX passwords.
In Distributed Computing Environment (DCE), TAS regards DCE as a TotalNET realm, along with NB, NW, AT, and UNIX. This provides a way of synchronizing the passwords of all realms, including DCE if it exists on the server. When changing a DCE user's password, you should use one password for all supported realms--NB, NW, AT, UNIX, and DCE. To change a DCE password entry, you must use tnpasswd to define -r DCE. Defining -r DCE only changes the DCE password. If you do not define the DCE realm, the TAS system changes the password for all realms except DCE. You cannot create or delete DCE user names and passwords with this command. Use the DCE administration interface to administer DCE passwords externally.
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: |
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: |
Use the following command to delete the password of user harold and deny harold access from all three realms:
tnpasswd -d harold |
Use the following command to delete the password of user harold from the NetWare realm:
tnpasswd -d harold -r NW |
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: |
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 |
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: |