sudo -k ???
Todd C. Miller
Todd.Miller at courtesan.com
Thu Dec 28 12:26:35 EST 2000
In message <CF1263DEA340D4118EC600508B637EAB01520908 at ptmail01.paytrust.com>
so spake "Kamal, Nasir" (Nasir.Kamal):
> I am unable to understand the meaning of -k option. The user can run command
> sudo -k, but what does it do actually??
The -k option kills any current timestamp file that the user might
have. By default, sudo will allow the user to run a command w/o a
password if that user has used sudo within the past 5 minutes. With
the -k option the user can invalidate the timestamp file (so the next
time sudo is run it will prompt for a password).
More information about the sudo-users