| United States-English |
|
|
|
![]() |
Installing, Configuring and Administering the Kerberos Server V 2.0 on HP-UX 11i: HP 9000 Networking > Chapter 6 AdministrationPrincipals |
|
A Principal is a string that names a specific entity to which a set of credentials may be assigned. Principals are users and network services that are included in your security network. The general syntax of a principal is: identifier/instance@REALM A principal name consists of three parts,
When creating principal names, note that a principal name:
There are two types of principals:
The Kerberos Security Server allows you to add user principals to the principal database as needed. The only limit on the number of principals in the database is the disk space available on the primary security server and each of the secondary security servers. When adding a user principal to the database, you must assign the principal identifier, instances (if used) and realm. You must also designate a temporary password for the principal. You may assign specific attributes and properties to the account. Any attributes and properties that are not specifically set for the principal are inherited from the default group principal. The temporary password must be communicated to the user before the user authenticates with the new principal account. The user provides the temporary password and is required to change the password during the first authentication attempt. A secure method must be established for transferring the temporary password information to the user to avoid a security breach. The Kerberos Security Server allows you to add service principals to the principal database, as needed. A service principal account is used for a UNIX host system, or a Kerberos-secured service or application that is available in the network to user principals. Certain service principals are required by the Kerberos Security Server and are automatically added to the principal database, when the Kerberos Server software is installed. Service principal accounts used by optional secured service applications must be added to the principal database manually. Each Kerberos-secured service or application must have the ability to provide its secret key during authentication. For this reason, service principal accounts must have specific attributes and properties, as required by the application. These attributes and properties include:
The Kerberos Security Server requires that certain service principals be included in the principal database. These principal accounts use reserved names that have a special significance in the Security Server database. Most of these reserved service principals are automatically created when you create the principal database or add a realm to the database as discussed below. The K/M@REALM principal contains the secret key of the principal database. When the database is created, this principal is added to the server's default realm to store the database secret key. All records in the principal database are encrypted using this key. The key for this principal is stashed on each security server in a file named .k5.realm.
The default@REALM principal name contains the default group principal attributes for REALM. This principal is required in each realm. This principal, called the default group, is automatically created when a realm is added to the database. The attributes and properties of this principal act as a template for adding principals to a realm in a Security Server's principal database. This principal uses a random key. However, you should not extract this key to a service key table file. This principal is locked by default, eliminating the security risk of an attacker attempting to authenticate using this principal account.
The krbtgt/REALM@REALM principal's secret key is used to encrypt and decrypt TGTs (ticket-granting tickets) issued by the security server for principals in the realm REALM.
To configure inter-realm authentication, you must create distinct reserved principals with the prefix name krbtgt/ for each realm. If you change any attribute or the password of the krbtgt/REALM@REALM principal for the default realm, that is, the realm that contains the K/M@REALM principal, you must close all administrative programs, including kadmin, kadminl_ui and kdcd; then restart all administrative services/daemons for that realm in order for the changes to take effect. The kadmin/REALM@REALM principal name is used by the administration tools: Administrator and the Command-Line-Administrator programs. This principal is required in each realm. It is automatically added when you add a realm to the database. This principal uses a random key, but you do not need to extract the key to a service key table file.
The kadmin/changepw@REALM principal is required by the Kerberos v5 standard set/change password protocol. This principal is automatically added to the database when a realm is created. This principal uses a random key, but you do not need to extract the key to the service key table file.
The kcpwd/REALM@REALM principal name is change password service for Kerberos. This principal is required in each realm. It is automatically added when you add a realm to the database. This principal uses a random key. However, you do not need to extract this key to a service key table file.
The host/fqdn@REALM principal name is used by various Security Servers and application services, including:
The fqdn instance must be the fully qualified domain name (FQDN) of the host system for the server or service. The FQDN must be entered as lower-case characters. These principals are not automatically added to the principal database when the security servers or application services are installed. You may need to delete user principals from the database. When a principal account is deleted from the database, the principal can no longer be used to authenticate to the security server. To delete a principal, use either the Administrator or Command-Line-Administrator. This removes the principal name, attributes, and properties from the database. For user principals, there may be additional steps that must be performed to remove the special privilege settings. For user principals that use UNIX systems, every UNIX host used by a principal contains the host/ service principal. If this system is unused, delete the service key from the host and remove the host/<fqdn> principal from the database. If the principal had special privileges, you must also remove those rights. Examples of special privileges include:
User principals must provide their passwords during authentication to create their secret keys. For best security, users should be required to periodically change their passwords. This version of Kerberos has two methods of enforcing that users change their passwords. A user principal is required to change their passwords when:
In both the situations, users can change their passwords using kpasswd on UNIX. The user must enter the current password, followed by the new password twice to verify the new password string. The principal's new password is automatically checked against the password policy file to ensure that it meets the enterprise criteria for secure passwords. Using the password policy file, you can specify rules that force users to build the kinds of passwords that can prevent easy discovery or cracking with brute-force methods. For more information on the Password Policy File, refer to “Password Policy File”. An administrator using a principal account with the required administrative permissions can also change a user principal's password. The administrator is not required to know the current password to change the password. When a principal's password is changed using one of the Kerberos Server's administrative tools, the password is not verified against the password policy file. For this reason, the password set by an administrator must, by default, be changed the next time the user attempts to authenticate using the account. The Change Password Required attribute is automatically enabled. The user must know the temporary password created by the administrator at the next log on, so you must develop a secure method for communicating the temporary password to the user. When a service principal account is deleted from the database, the service account is no longer available in the network. Deleting a service principal using one of the administration tools removes the principal name, attributes, and properties from the database. For a service principal, there is an additional step that must be performed to remove its secret key stored in the service key table file on the service's host. This key is not deleted when the service principal is removed from the database. It has to be manually deleted from the database. If there is only one service on the host, you can delete the service key table file. The default name for the file is v5srvtab. If multiple services share the same service key table file, you must remove the service key for the deleted service principal account from the service key table file. Refer to “Deleting Older Keys From the Service Key Table File”, for information on deleting keys from the service key table file. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||