sudo -K/-k ineffective

Michael Grünewald michael.grunewald at laposte.net
Sun Aug 1 19:17:29 UTC 2010


Hi,

Lowell Gilbert wrote:
> me<gurpreet007 at gmail.com>  writes:
>> Upon doing sudo<some-command>  as a normal user (non-root), sudo asks for
>> password only once, subsequent invocations of sudo doesn't ask for password
>> - even though I do sudo -k or sudo -K in between.
>> Although sudo starts asking for password after the time stamp expiry.
> [...]
> I don't think sudo even knows about pam(3), so I'm not sure what could
> be happening here...

Maybe there is something funny with sudo's timestamp directory?  If it 
is mounted with option `noatime' it may have consequences similar to 
what you discribe.

Michael


More information about the freebsd-questions mailing list