Solaris Naming Administration Guide

Changing the Keys of a Nonroot Server

To change the keys of a nonroot server (master or replica) from the server, use these commands:


subreplica# nisaddcred des
subreplica# nisupdkeys parentdir dirs

Where:

When running nisupdkeys be sure to update all relevant directory objects at the same time. In other words, do them all with one command. Separate updates may result in an authentication error.


Note -

Whenever you change a server's keys, you must also update the key information of all the clients in that domain as explained in "Updating Client Key Information "