Solaris Naming Administration Guide

For User Principals--Example

This example creates both LOCAL and DES credential information for an NIS+ user named morena who has a UID of 11177. She belongs to the domain, so this example enters her credential information from a principal machine of that domain:

client# nisaddcred -p 11177 -P local 
client# nisaddcred -p \
   -P des
Adding key pair for 
Enter login password:

The proper response to the Enter login password: prompt is morena's login password. (If you don't know her login password, you can use a dummy password that she can later change using chkey, as described in the next example.)