This procedure should be done on every user in the NIS+ domain.
Assume the Primary Administrator role, or become superuser.
The Primary Administrator role includes the Primary Administrator profile. To create the role and assign the role to a user, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.
Type the following command:
# nisaddcred -p unix.UID@domain-name -P username.domain-name. des
Note that, in this case, the username.domain-name must end with a dot (.).
Verify the setup by logging in as the client and typing the keylogin command.
In the following example, a key for Diffie-Hellman authentication is given to the user jdoe.
# nisaddcred -p firstname.lastname@example.org -P jdoe.example.com. des DES principal name : email@example.com Adding new key for firstname.lastname@example.org (jdoe.example.com.) Password: <Type password> Retype password:<Retype password> # rlogin rootmaster -l jdoe % keylogin Password: <Type password> %