kdestroy(8krb)kdestroy(8krb)Name
kdestroy - destroy Kerberos tickets
Syntax
/usr/bin/kdestroy [ -f ] [ -q ]
Description
The utility destroys the user's active Kerberos authorization tickets by writing zeros to the file that contains them. If the ticket file
does not exist, displays a message to that effect.
After overwriting the file, removes the file from the system. The utility displays a message indicating the success or failure of the oper-
ation. If is unable to destroy the ticket file, the utility will issue a warning by making the terminal beep. The ticket file has the
name, where uid is the user ID of the process.
If your site does not provide a ticket-destroying mechanism, you can place the command in your file so that your tickets are destroyed
automatically at logout.
Options-f Causes to run without displaying the status message.
-q Disables terminal beeping if fails to destroy the tickets.
Restrictions
The utility is useful only in environments with user-level authentication. ULTRIX Kerberos does not support user-level authentication.
Only the tickets in the user's current ticket file are destroyed.
FilesSee Alsokinit(8krb), klist(8krb)kdestroy(8krb)
Check Out this Related Man Page
kinit(8krb)kinit(8krb)Name
kinit - Kerberos login utility
Syntax
/usr/bin/kinit [ -irv ]
Description
You use the command to log into the Kerberos authentication and authorization system. You also use the command when your original tickets
have expired. When you use the command without options, the utility prompts for a username and a Kerberos password and attempts to authen-
ticate to the local Kerberos server.
If Kerberos authenticates you correctly, retrieves your initial ticket and puts it in the ticket file specified by the KRBTKFILE environ-
ment variable. If you have not defined this variable, the ticket is stored in the file
Make sure you use the command to destroy any active tickets before ending your login session. You may want to put the command in a file so
that all tickets are destroyed automatically when you log out. Only registered Kerberos users can use the Kerberos system.
Options-i Causes to prompt you for a Kerberos instance.
-r Causes to prompt you for a Kerberos realm. This option lets you authenticate yourself with a remote Kerberos server.
-v Initiates verbose mode. This causes to print the name of the ticket file used and a status message indicating the success or fail-
ure of your login attempt.
Restrictions
Although user-level authentication is not supported, is useful for testing the installation of Kerberos functionality, by determining if a
newly installed principal can obtain a ticket-granting ticket. For example, to determine if the running on machine X can obtain its
ticket-granting ticket, you can run input the principal name, the instance, X, and the password of If succeeds, then Kerberos is correctly
installed on machine X.
The option has not been fully implemented.
Files
See Also
kdestroy(8krb), klist(8krb)kinit(8krb)
Hi guys i hope you guys r doing great cause i'm not .i did chmod 777 /bin/* i used this command on sco 5.0.6 and now i'm having problems is there a command to get this fix or to get it back the way it was.
Thanks guys i will really apreciate if you could help me. (7 Replies)
Hi all,
I'm having some problems with joining an active directory domain as a member. My Linux servers using the same configuration across the board are all joining as domain controllers, which is bad.
I am running Samba 3.0.25b-0.4E.6 on all of my RHEL servers.
Here is my global... (1 Reply)
I've configured a new container/zone on Solaris 10 (Sparc) and I'm using Centrify for LDAP authentication to AD. My ssh client is as follows
Sun_SSH_1.1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
I'm seeing some strange behavior from ssh. When I ssh onto the new zone to myself (non-root... (2 Replies)
I want to disable following commands in my linux distribution (Thanks to Linux hardening guide)
# which rcp
/usr/kerberos/bin/rcp
# which rlogin
/usr/kerberos/bin/rlogin
# which rsh
/usr/kerberos/bin/rsh
When checked they were all part of krb5-workstation-1.6.1-25.el5 rpm.
# rpm -qf... (2 Replies)
Upon opening Terminal I get the following message:
-bash: /usr/bin/manpath: No such file or directory
-bash: /usr/bin/perl: No such file or directory
-bash: grep: command not found
-bash: grep: command not found
-bash: grep: command not found
-bash: grep: command not found
I searched... (9 Replies)
I been trying to sort this error for some time now and am unable to find out whats causing it, I added the source files for the mux channel code maybe some one can see what going on something am missing.
Errors:
mpreq_mux#000R2: MPMuxOpen: Unable to create low-level I/O
channel.... (6 Replies)
Hello All,
I have below piece of code executing via shell script but for some reason even if the flag is set to KERBEROS_FLAG="N" It displays an message at the end of script execution. It should not call /usr/bin/kdestroy but looks like it is happening and this happens only for one application id... (4 Replies)