[sudo-users] retrieving the remain time of a cached credential

Michael Ströder michael at stroeder.com
Thu Sep 19 02:17:09 MDT 2019

On 9/18/19 9:31 PM, Dennis Schwartz via sudo-users wrote:
> You're right that I only want to know whether a password is required or
> not. I don't necessarily need to know (for my use case) how long the
> credential is still cached.

But even if you get the result that password input would not be needed
at current time you don't know whether it's needed at sudo usage time
current time + delta. Yes, delta is very very small, but never zero.

Ciao, Michael.

More information about the sudo-users mailing list