[kanchilug] [Tip] Make sudo forget password instantly ;)

  • From: "Tha.Suresh" <jemenisuresh@xxxxxxxxx>
  • To: ILUG-C <ilugc@xxxxxxxxxxxxx>, KanchiLug <kanchilug@xxxxxxxxxxxxx>, iitdlug@xxxxxxxxxxxxxxxx
  • Date: Sat, 9 Oct 2010 00:12:29 +0530

$ sudo -k

Make sudo forget password instantly

By default sudo 'remembers' password for a few minutes, so that you do
not need to re-enter password for a series of sudo commands that might
follow within a short time duration.

However, sometime you might want sudo to instantly 'forget' the password.

(Next sudo command will need you to reenter the password)  ;-)



-- 
Regards,
Tha.Suresh
http://thasulinux.wordpress.com
 

Other related posts:

  • » [kanchilug] [Tip] Make sudo forget password instantly ;) - Tha.Suresh