System Administration Guide: Security Services

How to Add a Single Entry to the Credential Table

This procedure requires that the gsscred table has already been created on the NFS server.

  1. Become superuser on a NFS server.

  2. Add an entry to the table by using gsscred.


    # gsscred -m mech [ -n name [ -u uid ]] -a
    

    mech

    Defines the security mechanism to be used. 

    name

    Defines the principal name for the user, as defined in the KDC. 

    uid

    Defines the UID for the user, as defined in the password database. 

    -a

    Adds the UID to principal name mapping.  

Example—Adding a Single Entry to the Credential Table

In the following example, an entry is added for the user named sandy, which is mapped to UID 3736. The UID is pulled from the password file if it is not included on the command line.


# gsscred -m kerberos_v5 -n sandy -u 3736 -a