eTrust Virus Scanner

Kevin Spicer kevins at BMRB.CO.UK
Tue Sep 16 15:54:58 IST 2003


On Tue, 2003-09-16 at 14:56, Julian Field wrote:

>Can my wrapper script access it correctly?
>/usr/lib/MailScanner/etrust-wrapper /opt/eTrustAntivirus .
>and see what happens.

>And when you are trying to test something involving shell variables,
>don't
>use sudo. "su -" properly and then try it.

Julian, this has become something of a long thread...  Let me summarise
the issues..

Scott is running exim (running as user mail), however inocmd32 insists
as being run as root.  Whats more it seems to insist on being run with
both a UID and EUID of root, so simply making the binary suid (with
appropriate protection by setting up a group for inocmd32 users and
turning off everyone execute permissions) didn't work.  Using su is not
desirable because of having to a) embed a password in the wrapper script
b) the difficulty of passing a password to su anyway.

Therefore Scott is now trying to use sudo (because he can set sudo up to
not require a password from certain users for certain commands) in the
wrapper script.  However he seems to have run into an issue with which
environment variables sudo passes through to the target program.






BMRB International
http://www.bmrb.co.uk
+44 (0)20 8566 5000
_________________________________________________________________
This message (and any attachment) is intended only for the
recipient and may contain confidential and/or privileged
material.  If you have received this in error, please contact the
sender and delete this message immediately.  Disclosure, copying
or other action taken in respect of this email or in
reliance on it is prohibited.  BMRB International Limited
accepts no liability in relation to any personal emails, or
content of any email which does not directly relate to our
business.



More information about the MailScanner mailing list