HP UX Red Hat Direry Server Software manual Activating User and Roles Using the Console

Models: UX Red Hat Direry Server Software

1 638
Download 638 pages 23.73 Kb
Page 283
Image 283

Activating User and Roles Using the

For more information about running the ns-inactivate.plscript, refer to the Directory Server

Configuration, Command, and File Reference.

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.

Once 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.

2.4. Activating User and Roles Using the Command-Line

To activate a user account, use the ns-activate.plscript. The following example describes using the ns-activate.plscript to activate Joe Frasier's user account:

ns-activate.pl -D Directory Manager -w secretpwd -p 389 -h example.com -I "uid=jfrasier,ou=people,dc=example,dc=com"

The following table describes the ns-inactivate.ploptions used in the example:

Option Name

Description

 

 

-D

The DN of the directory administrator.

 

 

-w

The password of the directory administrator.

 

 

-p

Port used by the server.

 

 

-h

Name of the server on which the directory

 

resides.

 

 

-I

DN of the user account or role to activate.

 

 

263

Page 283
Image 283
HP UX Red Hat Direry Server Software manual Activating User and Roles Using the Console