[sudo-users] Sudo command Expiry

Mark Janssen maniac.nl at gmail.com
Thu Oct 25 11:42:25 EDT 2012

On Tue, Oct 23, 2012 at 6:06 AM, Mr. Sijo James <sijojamesm at gmail.com>wrote:

> Any help in expiring the command in sudo config...
> Example- I have given sudo ALL privileges for let's say oracle user to
> install the oracle DB for 2 days. I want to expire the privileges of the
> said entry after 2 days automatically.
> how can I specify the time of expiry in the sudo configuration file? Any
> format?

I don't think you can do it with the static sudo configuration, you CAN
however do it when your sudo configuration is in LDAP, since then you have
'before' and 'after' date/time fields.

Mark Janssen  --  maniac(at)maniac.nl
Unix / Linux Open-Source and Internet Consultant
Maniac.nl Sig-IO.nl Vps.Stoned-IT.com

More information about the sudo-users mailing list