PDA

View Full Version : HOWTO: Delete sudo history quickly and easily


NotJustANewbie
December 13th, 2005, 05:04 PM
Right click on your panel
->Add to panel -> Custom Application Launcher ->

Name: Delete sudo history
Comment: To clear all sudo password history
Command: sudo -K
Icon: Choose a suitable one!

Every time you click this icon, your password history for all sudo logins will be deleted. (Useful if someone is using your computer once you have logged in for them and you don't want them to be able to use sudo after you have in that session).