[sudo-users] requiring sudo -i
Michael W. Lucas
mwlucas at michaelwlucas.com
Sat Aug 17 09:28:44 MDT 2013
Hi,
Is there a way in sudoers to require use of the -i flag for certain
commands?
I've had situations where commands needed to be run with a specific
user's environment. It would be nice if I could compel initializing a
login environment when running those commands.
Thanks,
==ml
--
Michael W. Lucas - mwlucas at michaelwlucas.com, Twitter @mwlauthor
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
Absolute OpenBSD 2/e - http://www.nostarch.com/openbsd2e
coupon code "ILUVMICHAEL" gets you 30% off & helps me.
More information about the sudo-users
mailing list