On 8/15/2004 12:26 PM GMT+2, david thompson wrote:
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.

Peter said: echo $PATH, not echo $path.

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

Because /usr/local/bin isn't in your $PATH. Do as Damian Menscher suggested!

Regards,

Niek


------------------------------------------------------- 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