[sudo-users] Sudo permissions detection

Bob Proulx bob at proulx.com
Tue May 9 02:48:10 EDT 2006


Scott Robinson wrote:
> Is there a way to programmatically determine if a user (myself) has a
> valid timestamp?

I suppose you could do something like this, and then check the return
code.

  echo | sudo -S true

Bob



More information about the sudo-users mailing list