- 3,126 hits
Place for playing with commands…
ODOC: sudo -k -k options is used to kill the time stamp for sudo. Means next time if we run sudo the password will be required to continue. Which is useful when we are using the password in public places some people sit around us.
Once a user has been authenticated by sudo, the timestamp is updated and the user can use sudo without password for a short period of time, by default it wont ask for 15 minutes.
Ex: bala@bala:~$ sudo -k fdisk -l
[sudo] password for bala:
Do it again & see the stuff…