IBM Tivoli Directory Server, Version 6.3

Managing the primary administrator DN with the command line

You can use the idsdnpw command to change the administrator DN and password for a directory server instance. The command can be run only when the directory server instance is not running. The primary administrator specifies an administrator password and, optionally, an administrator DN, which the utility writes to the ibmslapd.conf file for the directory server instance. The administrator DN is set to cn=root by default.

For example:

To set the administrator DN to cn=myname and the password to secret on a computer with only one directory server instance, issue the command:

idsdnpw –u cn=myname –p secret

If the password is not specified, you are prompted for the password. The password is not displayed on the command line when you type it.

Note:
If the administration password policy has been enabled, the administrator's password must conform to the administration password policy requirements. See the IBM® Tivoli® Directory Server Version 6.3 Administration Guide for information about the password policy.

See the IBM Tivoli Directory Server Version 6.3 Command Reference for detailed information about the idsdnpw command.


[ Top of Page | Previous Page | Next Page ]