Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

klist(8krb) [ultrix man page]

klist(8krb)															       klist(8krb)

Name
       klist - lists currently held Kerberos tickets

Syntax
       /usr/bin/klist [ -s | -t ] [ -file [filename] ] [ -srvtab ]

Arguments
       filename    The name of the Kerberos ticket file.

Description
       The  command allows you to print the name of the ticket file, the identity of the principal requesting the tickets (as listed in the ticket
       file), and the principal names of all the Kerberos tickets currently held by the user (along with the issue and expiration times  for  each
       authenticator).	Principal names are listed in the form:
       name.instance@realm
       The period (.) is omitted if the instance is null, and the at sign (@) is omitted if the realm is null.

       The  command  also  enables you to print the entries in the file.  If the -srvtab option is selected, will print the service name, instance
       name, realm name, and key version of all services listed in the file.

Options
       -s     Suppresses the printing of the issue and expiration times, the name of the ticket file, or the identity of the principal.

       -t     Checks for the existence of an unexpired ticket-granting-ticket in the ticket file.  If one is present, exits with  status  of  zero(0).  Otherwise, it exits with status 1.	No output is generated when this option is specified.

       -file  Causes the following argument to be used as the ticket file.  Otherwise, the file is used, where is the user ID of the process.

       -srvtab
	      Indicates that data should be printed.  If the -file switch is not used, the data is read from the default file,

Restrictions
       User-level authentication is not supported.  However, by naming the file with the option, you can look at the tickets generated by

Files
       Default		file

       To get the name of the local realm

       The default ticket file

       The file containing tickets generated by

See Also
       kinit(8krb), kdestroy(8krb)

																       klist(8krb)

Check Out this Related Man Page

kdb_init(8krb)															    kdb_init(8krb)

Name
       kdb_init - initialize the Kerberos master database

Syntax
       /var/dss/kerberos/bin/kdb_init [ realm-name ] [ database-name ]

Arguments
       realm-name   The realm of the Kerberos database.

       database-name
		    A database specified so that the current and files are not overwritten.

Description
       The  utility  creates  and  initializes	the Kerberos master database.  The utility creates the database files: and It also initializes the
       database by adding three database entries: the master database principal, a Kerberos default principal, the ticket-granting service princi-
       pal ( and the password changing principal,

       The master database principal is the entry to the database itself.  You cannot use or modify the database without the master database pass-
       word.  The Kerberos default principal provides a template for service principals.

       The ticket-granting service, is used by Kerberos principals to obtain tickets to communicate with other Kerberos principals.  The password-
       changing principal is not used.

       If  realm-name  is  omitted  when  you enter the command, prompts for it. The program also prompts for the master database key.	You cannot
       manipulate the database without this key.

       By using database-name, you can create another database to prevent the current and files from being overwritten.

       After using to set up the master database, you may want to use the utility to hide the  master  database  password  on  the  database  host
       machine.  This  enables	Kerberos  administration programs to access and manipulate the master database, without needing the password to be
       entered manually.

Files
       See Also
	      kdb_util(8krb), kstash(8krb), kdb_edit(8krb), kdb_destroy(8krb)

																    kdb_init(8krb)
Man Page

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script to check the unique numbers in huge data

Friends, I have to write a shell script,the description is---- i Have to check the uniqueness of the numbers in a file. A file is containing 200thousand tickets and a ticket have 15 numbers in asecending order.And there is a strip that is having 6 tickets that means 90 numbers.I... (7 Replies)
Discussion started by: namishtiwari
7 Replies

2. Programming

generate a program

I have created a shell script but i wnt to translate that in c++ program as it is not working that fast. 1 strip=6 tickets 1 ticket has 27 values in that there should be exactly 15 values rest can be filled with zeroes. 1 strip has exactly 90 values. in a column the entries should be in... (2 Replies)
Discussion started by: namishtiwari
2 Replies

3. Shell Programming and Scripting

print out result from data file

i got a data file which contains all the pid,ppid,user,command,pcpu,start_time,status. I wanted to display out the pcpu which is greater than 0. i uses awk'{if($5 > 0){print}}' filename.txt but is printing out result which not i wanted. Is there any way which i can print out those pcpu which is... (8 Replies)
Discussion started by: thms_sum
8 Replies

4. Shell Programming and Scripting

grep within while read loop

I have a key file $ cat klist 5 N:8855 CASA VERDE ROAD :32827 :ORLAND 5 N:585 MOLLY LANE :30189 :WOODST 5 N:320 NINA ROAD :32304 :TALLAH and a data file, see example of the line below: N:RT 15 & N 7TH STREET :17837 :U SAVE I need to search by key (2nd field) from klist... (6 Replies)
Discussion started by: migurus
6 Replies

5. BSD

Kerberos log file does not log when ticket is destroyed

Hi, in the log file there is line when the ticket is issued but when an user destroys the ticket there is no record. Does someone have an idea? (0 Replies)
Discussion started by: gaspar
0 Replies

6. Linux

cifs.upcall issue, requests new kerberos service ticket all the time

This is more of an annoyance than an actual production issue. I've set it up so that each user's home directory is mounted to an immediate subdirectory of $HOME when they login, (and umounts when they log out to keep /proc/mounts a manageable size). My issue comes in when my login scripts... (0 Replies)
Discussion started by: thmnetwork
0 Replies

7. Shell Programming and Scripting

Design Search string

I've notepad in which logs are present. I need to design a web page by which if some one paste their ticket number and click on "search" the logs for that ticket number should be displayed at the bottom. I need some advice on how to do this and which is the right platform to do this. Regards... (1 Reply)
Discussion started by: ilugopal
1 Replies

8. Shell Programming and Scripting

Grep with loop till search is done

I need help to put a script where it runs the svn command grep'ing for the ticket# in the comments to see if the ticket was used in the latest commit. so on command line: ./test.sh ticket-1 ticket-2 ticket-3 It should be able to check if ticket-1 is used first and if not then check if... (2 Replies)
Discussion started by: iaav
2 Replies