[sudo-users] Possible to have two active instances of sudo installed on one machine?

Todd C. Miller Todd.Miller at courtesan.com
Fri Mar 16 13:58:42 EDT 2012


On Thu, 15 Mar 2012 09:41:18 EDT, "Mike Klingbeil" wrote:

> Is it technically possible to have two instances of sudo installed on
> one machine at the same time but running from different paths and using
> different sudoers files?

Yes, it is quite possible.  You can use the --sysconfdir configure
option at build to point to a different directory for sudoers.
Alternately, you can just edit plugins/sudoers/Makefile and change
sudoersdir (or the value of _PATH_SUDOERS).

One thing to be aware of is that the two versions of sudo will share
the timestamp directory unless you set it to different values at
configure time.

 - todd



More information about the sudo-users mailing list