System Administration Guide

How to Acquire a Kerberos Ticket for Superuser on a Client

If the NFS file system that you need to access has not been mounted, you need to acquire a ticket for superuser on the client before mounting it.

To acquire a ticket for a not-yet-mounted file system:
  1. Become superuser.

  2. Acquire a Kerberos ticket on the client.


    # kinit root.hostname
    

    hostname is the name of the client system.


    # kinit root.earth
    Password:
    #
To acquire a ticket for a mounted file system:

If the entry root.hostname for the client has been entered into the /etc/srvtab configuration file, you can use the ksrvtgt command to get a ticket for superuser. In this case, you are not required to give a superuser password. Consult the MIT documentation for information about initializing the /etc/srvtab file.

  1. Become superuser.

  2. Acquire a ticket for a mounted file system.


    # ksrvtgt root.hostname
    

Example--Acquiring a Kerberos Ticket for Superuser on a Client


# ksrvtgt root.earth
#