Unix/Linux Go Back    

OpenSolaris 2009.06 - man page for ktutil (opensolaris section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

ktutil(1)				  User Commands 				ktutil(1)

       ktutil - Kerberos keytab maintenance utility


       The  ktutil  command  is  an  interactive command-line interface utility for managing  the
       keylist in keytab files. You must read in a keytab's keylist  before you  can  manage  it.
       Also,  the user running the ktutil command must have read/write permissions on the keytab.
       For example, if a keytab is owned by root, which it typically is, ktutil must  be  run  as
       root to have the appropriate permissions.

       clear_list	      Clears the current keylist.

       read_kt file	      Reads  a keytab into the current keylist. You must specify a keytab
       rkt file 	      file to read.

       write_kt file	      Writes the current keylist to a keytab file.  You  must  specify	a
       wkt file 	      keytab  file  to write. If the keytab file already exists, the cur-
			      rent keylist is appended to the existing keytab file.

       add_entry number       Adds an entry to the current keylist.  Specify  the  entry  by  the
       addent number	      keylist slot number.

       delete_entry number    Deletes an entry from the current keylist. Specify the entry by the
       delent number	      keylist slot number.

       list		      Lists the current keylist.

       list_request	      Lists available requests (commands).

       quit		      Exits utility.
       Example 1 Deleting a principal from a file

       The   following	 example   deletes   the   host/denver@ACME.com   principal   from    the
       /etc/krb5/krb5.keytab  file.  Notice  that if you want to delete an entry from an existing
       keytab, you must first write the keylist to a temporary	keytab	and  then  overwrite  the
       existing  keytab  with  the  temporary  keytab.	This  is because the wkt command actually
       appends the current keylist to an existing keytab, so you can't	use  it  to  overwrite	a

	 example# /usr/krb5/bin/ktutil
	     ktutil: rkt /etc/krb5/krb5.keytab
	     ktutil: list
	 slot KVNO Principal
	 ---- ---- ---------------------------------------
	    1	 8 host/vail@ACME.COM
	    2	 5 host/denver@ACME.COM
	     ktutil:delent 2
	 slot KVNO Principal
	 ---- ---- --------------------------------------
	    1	 8 host/vail@ACME.COM
	     ktutil:wkt /tmp/krb5.keytab
	 example# mv /tmp/krb5.keytab /etc/krb5/krb5.keytab

       /etc/krb5/krb5.keytab	keytab file for Kerberos clients

       See attributes(5) for descriptions of the following attributes:

       |      ATTRIBUTE TYPE	     |	    ATTRIBUTE VALUE	   |
       |Availability		     |SUNWkrbu			   |
       |Interface Stability	     |See below.		   |

       The command arguments are Evolving. The command output is Unstable.

       kadmin(1M), k5srvutil(1M), attributes(5), kerberos(5)

SunOS 5.11				   16 Nov 2006					ktutil(1)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 05:47 AM.