HP-UX Directory Server 8.1 administrator guide
The following table describes the ns-inactivate.pl options used in the example:
DescriptionOption Name
The DN of the directory administrator.
-D
The password of the directory administrator.
-w
Port used by the server.
-p
Name of the server on which the directory resides.
-h
DN of the user account or role to inactivate.
-I
For more information about running the ns-inactivate.pl script, see HP-UX Directory Server
configuration, command, and file reference.
7.2.3 Activating user and roles using the console
The following procedure describes activating a user or a role using the Console:
1. Select the Directory tab.
2. Browse the navigation tree in the left navigation pane, and double-click the user or role to
activate.
Alternatively, select Activate from the Object menu.
The Edit Entry dialog box appears.
3. Click Account in the left pane. The right pane states that the role or user is inactivated. Click
the Activate to activate the user or role.
4. If the user or role is a member of another inactivated role, the Console displays an option
for viewing the inactivated roles. Click Show Inactivated Roles to view the list of roles to
which the user or role belongs.
5. Click OK.
After it is reactivated, the state of the object can be viewed by selecting Inactivation State from
the View menu. The icon of the role or user in the right pane of the Console appears as normal.
The red slash through the icon indicating it was inactive disappears.
7.2.4 Activating user and roles using the command line
To activate a user account, use the ns-activate.pl script. The following example describes
using the ns-activate.pl script to activate Joe Frasier's user account:
ns-activate.pl -D Directory Manager -w secret -p 389 -h example.com
-I "uid=jfrasier,ou=people,dc=example,dc=com"
The following table describes the ns-inactivate.pl options used in the example:
DescriptionOption Name
The DN of the directory administrator.
-D
The password of the directory administrator.
-w
Port used by the server.
-p
Name of the server on which the directory resides.
-h
DN of the user account or role to activate.
-I
For more information about running the ns-activate.pl script, see the HP-UX Directory
Server configuration, command, and file reference.
7.2 Inactivating users and roles 305