[sudo-users] Force sudo to source environment file before running a command.

Todd C. Miller Todd.Miller at courtesan.com
Tue Oct 20 15:32:40 EDT 2009

In message <dc3ecf560910201151r4dd12e24mdc1d909a3d3ae3bd at mail.gmail.com>
	so spake Techie (techchavez):

> Thanks for the information. When you say bash style environment files
> I assume yo uare referencing my prefixing variable statements with
> "export".


> If that is the case will Bourne shell style statements work inside
> environment files such as..
> DOG=boxer
> I am using RHEL and the latest RPM is for 1.69..and currently I am on 1.68
> So if I can use environment files with 1.68 and bourne style that is
> acceptable.

Unfortunately, env_file was introduced in sudo 1.7.0 so 1.6.9 is
still too old.

 - todd

More information about the sudo-users mailing list