Before You Begin
You must assume the root role. For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .
Use the installation profile from How to Create a Kerberos Client Installation Profile.
You must provide the password for the clntconfig principal to complete the process. You created this password when you configured the master KDC in Configuring KDC Servers. For more information, see the kclient(1M) man page.
client# /usr/sbin/kclient -p /net/denver.example.com/export/install/kcprofile Starting client setup --------------------------------------------------- kdc1.example.com Setting up /etc/krb5/krb5.conf. Obtaining TGT for clntconfig/admin ... Password for clntconfig/[email protected]: xxxxxxxx nfs/client.example.com entry ADDED to KDC database. nfs/client.example.com entry ADDED to keytab. host/client.example.com entry ADDED to KDC database. host/client.example.com entry ADDED to keytab. Copied /net/denver.example.com/export/install/krb5.conf. --------------------------------------------------- Setup COMPLETE. client#
The following example uses the kcprofile client profile and two command-line overrides to configure the client.
# /usr/sbin/kclient -p /net/denver.example.com/export/install/kcprofile \ -d dns_fallback -k kdc2.example.com Starting client setup --------------------------------------------------- kdc1.example.com Setting up /etc/krb5/krb5.conf. Obtaining TGT for clntconfig/admin ... Password for clntconfig/[email protected]: xxxxxxxx nfs/client.example.com entry ADDED to KDC database. nfs/client.example.com entry ADDED to keytab. host/client.example.com entry ADDED to KDC database. host/client.example.com entry ADDED to keytab. Copied /net/denver.example.com/export/install/krb5.conf. --------------------------------------------------- Setup COMPLETE. client#