Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

k5srvutil(1) [suse man page]

K5SRVUTIL(1)						      General Commands Manual						      K5SRVUTIL(1)

NAME
k5srvutil - host key table (keytab) manipulation utility SYNOPSIS
k5srvutil operation [ -i ] [ -f filename ] DESCRIPTION
k5srvutil allows a system manager to list or change keys currently in his keytab or to add new keys to the keytab. Operation must be one of the following: list lists the keys in a keytab showing version number and principal name. change changes all the keys in the keytab to new randomly-generated keys, updating the keys in the Kerberos server's database to match by using the kadmin protocol. If a key's version number doesn't match the version number stored in the Kerberos server's data- base, then the operation will fail. The old keys are retained so that existing tickets continue to work. If the -i flag is given, k5srvutil will prompt for yes or no before changing each key. If the -k option is used, the old and new keys will be dis- played. delold Deletes keys that are not the most recent version from the keytab. This operation should be used some time after a change opera- tion to remove old keys. If the -i flag is used, then the program prompts the user whether the old keys associated with each principal should be removed. delete deletes particular keys in the keytab, interactively prompting for each key. In all cases, the default file used is /etc/krb5.keytab file unless this is overridden by the -f option. k5srvutil uses the kadmin program to edit the keytab in place. However, old keys are retained, so they are available in case of failure. SEE ALSO
kadmin(8), ktutil(8) K5SRVUTIL(1)

Check Out this Related Man Page

K5SRVUTIL(1)							   MIT Kerberos 						      K5SRVUTIL(1)

NAME
k5srvutil - host key table (keytab) manipulation utility SYNOPSIS
k5srvutil operation [-i] [-f filename] DESCRIPTION
k5srvutil allows an administrator to list or change keys currently in a keytab or to add new keys to the keytab. operation must be one of the following: list Lists the keys in a keytab showing version number and principal name. change Uses the kadmin protocol to update the keys in the Kerberos database to new randomly-generated keys, and updates the keys in the keytab to match. If a key's version number doesn't match the version number stored in the Kerberos server's database, then the operation will fail. Old keys are retained in the keytab so that existing tickets continue to work. If the -i flag is given, k5srvutil will prompt for confirmation before changing each key. If the -k option is given, the old and new keys will be displayed. delold Deletes keys that are not the most recent version from the keytab. This operation should be used some time after a change operation to remove old keys, after existing tickets issued for the service have expired. If the -i flag is given, then k5srvutil will prompt for confirmation for each principal. delete Deletes particular keys in the keytab, interactively prompting for each key. In all cases, the default keytab is used unless this is overridden by the -f option. k5srvutil uses the kadmin(1) program to edit the keytab in place. SEE ALSO
kadmin(1), ktutil(1) AUTHOR
MIT COPYRIGHT
1985-2013, MIT 1.11.3 K5SRVUTIL(1)
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

obtain duplicate keys in csv file

Hi, having two csv files, both sorted, by key (column1), f1 containing duplicate keys and f2 containing no duplicate keys, how can I obtain all rows from f1 with the keys listed in file2? Example: f1 is: k1,gsj01fd k2,vi982cj k2,1fjk01e k3,81kjfds k4,sd9dasi f2 is: k2 k3 and I... (3 Replies)
Discussion started by: oscarmon
3 Replies

2. Programming

Problem with kerberos cpp project

Hi All, I am having problem with kerberos kadmin library in c++. I am using red hat linux Enterprise Linux Server release 5 (Tikanga), and gcc c++ - 4.1.1-52.el4.i386. When I make a c project (main.c) and use function from kadmin library such as kadm5_init_krb5_context(&context); ... (2 Replies)
Discussion started by: amitp
2 Replies

3. Shell Programming and Scripting

Iterative operation

grep -o '\{1,3\}\.\{1,3\}\.\{1,3\}\.\{1,3\}' then how do i iterate the file names?? (19 Replies)
Discussion started by: ravis83
19 Replies

4. UNIX for Advanced & Expert Users

Kerberos: Keylist is lost after exiting ktutil

Hi All, I am able to read a keytab using ktutil and doing a "list" shows the keylist. But once I exit the ktutil tool and then again invoke ktutil and do a "list", the keylist is not shown. Any ideas why this is happening ? (1 Reply)
Discussion started by: arunsriniv
1 Replies

5. UNIX for Dummies Questions & Answers

Bind keys using unix

I am using unix and I want to bind a key so that when I press it, text appears in the command line: Eg: Press '=' and 'verbatim18 centres_show' appears. Can anyone help me? I have tried as many combinations as I have found on the internet, but it just keeps saying either 'Command not... (33 Replies)
Discussion started by: bucksnotts
33 Replies

6. Shell Programming and Scripting

convert data into matrix- awk

is it possible to count the number of keys based on state and cell and output it as a simple matrix. Ex: cell1-state1 has 2 keys cell3-state1 has 4 keys. Note: Insert 0 if no data available. input key states cell key1 state1 cell1 key1 state2 cell1 key1 ... (21 Replies)
Discussion started by: quincyjones
21 Replies

7. Shell Programming and Scripting

SFTP - Private and Public keys

Hi All, I have a query....say on server A, I have generated the Private and Public keys and shared the public key with server B. Now i can surelyconnect(without password) from server A to server B..... but can i similarly connect from server B to server A as well Regards (1 Reply)
Discussion started by: Arpit Narula
1 Replies

8. UNIX for Dummies Questions & Answers

AIX - VI/VIM Newbie Keymapping Help.

When I use the PgUp/PgDn keys it does strange things, like make the next letters change case. I know that it's because what the key is sending is telling vi to move to the next letter and change the case, but I'm absolutely having no luck in remapping PgUp/PgDn (CTRL+B/F) to those keys. CTRL+V... (0 Replies)
Discussion started by: Vryali
0 Replies

9. AIX

Problems with kerberos and forest domain

Hi, I have a simple Apache setup that works fine when I create a keytab on a domain level authentication works fine. When I create a keytab at the forest level authentication does not work. I get the following error message. Does anyone know what I am doing wrong here? I validated there is the... (0 Replies)
Discussion started by: 3junior
0 Replies

10. Shell Programming and Scripting

PGP generating keys.

Hi Guys, Am facing issue in generating PGP keys. Can you please help me to figure this out?? I fired the below command to generate keys. The log say keys successfully created. But when i tried to list it doesnt shows me the keys created. pgp --gen-key "pgptest<ram@gmail.com>"... (3 Replies)
Discussion started by: Vinoth Kumar G
3 Replies

11. SCO

Sco 3.2 and PuTTY

Is there anyway to the function keys to work on PuTTY when remoting into a SCO 3.2 server? (8 Replies)
Discussion started by: steveo314
8 Replies

12. Shell Programming and Scripting

Need assistance with an IF statement to compare a list of SHA keys between two repositories.

Hello. My first time here. What I am trying to do is this. FileA is located on a web server FileB is located on local storage Both files contain a large list of information of not only SHA keys but versions, and other information. I need a statement that can compare between FileA... (5 Replies)
Discussion started by: Query
5 Replies