Ubuntu Forums Archive Viewer

HOWTO: Delete sudo history quickly and easily

Archived thread 103161 from Outdated Tutorials & Tips. Markdown source: Outdated_Tutorials_&_Tips/thread_103161_HOWTO_Delete_sudo_history_quickly_and_easily.md

Original URL About this archive
#1

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).