[sudo-users] Don't set timestamp

Todd C. Miller Todd.Miller at courtesan.com
Sun Jul 19 19:19:43 EDT 2009

In message <1248029295.28377.2.camel at linux-9ona.site>
	so spake slawek (slawek):

> Is there possible to run sudo without set timestamp?
> I would like to use su, but there's not working on Ubuntu.
> Don't tell me how set password for root - i need only to invoke "sudo
> --without-timestamp" command or some think like that.

With sudo 1.7.1 and higher you can use the -k flag along with a
command to ignore the time stamp file.  This means that sudo will
always prompt for a password and not update the time stamp file.

    sudo -k ls

 - todd

More information about the sudo-users mailing list