Hi all, Thanks for your tips so far.

If you type "echo $PATH" you will see that the search path is not the same for you as an ordinary user and you as super user.


I typed echo $path and got a blank.

Find the freshclam binary by using "locate freshclam" or this:

# rpm -qa | grep clam
clamav-0.75.1-1mdk
# rpm -ql clamav-0.75.1-1mdk | grep freshclam
/usr/bin/freshclam


I did not install a rpm-so the above will not find freshclam. However, I have found that the executable is /usr/local/bin/freshclam. I opened a console as su, and typed freshclam and it updated ok.

But why cant I use freshclam as su without bash reporting that it cant find the command? Has it something to do with ldconfig?

all the best

david





-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to