| United States-English |
|
|
|
![]() |
Installing, Configuring and Administering the Kerberos Server on HP-UX 11i: HP 9000 Networking > Chapter 4 AdministrationAdministering the Kerberos Database |
|
The Kerberos database now contains the Kerberos principals, their keys, and other administrative information about each principal for your realm. For more information on configuring your realm, refer to “Creating the Kerberos Database”. Before we proceed further, we need to set up some principal names that will allow us to administer the database. The programs that allow us do this are kadmin and kadmin.local. The kadmin client contacts the kadmind for Kerberos authentication whereas the kadmin.local does not require a server for authentication. The kadmin.local runs only on a machine which has the Kerberos database. The kadmind command starts the administrative server. This administrative server runs on Kerberos server that stores the Kerberos principal database and the policy database. The kadmind accepts password change request and remote requests to administer the information in these databases. kadmind requires the following configuration files to be set for it to work:
See the man page for kadmind for more details on kadmind options and configuration values. These utilities provide a unified administration interface for the Kerberos database. Kerberos administrators use these utilities to create new users and services for the master database, and to modify information for the existing database entries. Both the utilities provide for maintenance of Kerberos principals, policies, and service key tables (keytabs). These utilities exist as both a Kerberos client, 'kadmin'and a local client, 'kadmin.local'. The kadmin utility uses Kerberos authentication and an Remote Procedure Call (RPC) to operate securely from anywhere on the network. The'kadmin.local' is intended to run directly on the KDC without any Kerberos authentication. Normal UNIX users cannot execute this command. Executing the kadmin.local command will display the kadmin.local prompt only if you are the root user. For more information on the kadmin option, type man kadmin (1) at the HP-UX prompt
Also, you can use these utilities to maintain Kerberos principals, policies and service key tables (keytabs). Getting the kadmin to work kadmin allows you to administer the Kerberos database remotely (and securely). If you just run kadmin, you may obtain an error message as shown below: kadmin: Client not found in Kerberos database while initializing kadmin interface
To be able to use the kadmin interface, you need to register yourself as a database administrator. On the KDC machine, in kadmin.local, you can add the administrator role:
Now you can access kadmin on the Kerberos server. For example,
Refer to the kadmin and kadmin.local manpages for more information. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||