eTrust Virus Scanner

Kevin Spicer kevins at BMRB.CO.UK
Tue Sep 16 16:14:36 IST 2003


On Tue, 2003-09-16 at 15:18, Hancock, Scott wrote:

>bambam:/opt/eTrustAntivirus# su mail
>bambam:/opt/eTrustAntivirus$ sudo /opt/eTrustAntivirus/ino/bin/inocmd32
>Unable to load message from string resource file.


Okay, doesn't look like sudo wants to play ball!  Looking at the output
of printenv theres quite a few CAI related settings in there

Maybe env_reset is on by default, try adding

Defaults        env_reset=false

to sudoers and trying again.

If that fails....

This is an ugly kludge, but it might just work...  Create a script...

#!/bin/bash

# include a pair of lines like the following for all the environment
# variables beginning CA
VARIABLE=value
export VARIABLE

/opt/eTrustAntivirus/bin/inocmd32 $*

##End script

then use sudo to call this script (the idea is to set the environment up
after sudo strips it down and before calling inocmd32)






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