Re: retrieving the remain time of a cached credential

Michael Ströder <[email protected]> Thu, 19 Sep 2019 10:17:09 +0200
Newsgroups gmane.comp.tools.sudo.user
Message-ID <[email protected]>
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.
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users