Hi all, Hopefully someone will be able to shed somelight on this.
I have a simple shell script[0] which calls update-nessusrc and supplies it with a list of families and plugins to use. This works fine if I call it from the command line however it fails if run from cron with the following error: Could not connect to nessusd (rc=1)! The $nessusd_* envirenment variables[1] are all set correctly in the actuall update-nessusrc script as both it and my shell script run fine from command line as mentioned previously. Does any one know what might be wrong or a way around this? Many thanks in advance. [0] ----snip pluginupdate.sh----- #!/bin/sh /pathto/update-nessusrc -f "Windows" -i "10330,11268,11454" -i "10942, 10940" /pathto/nessusrc ----snip----- [1] my $nessusd_host my $nessusd_port my $nessusd_user my $nessusd_user_pass -- Concerned about your privacy? Follow this link to get FREE encrypted email: https://www.hushmail.com/?l=2 Free, ultra-private instant messaging with Hush Messenger https://www.hushmail.com/services.php?subloc=messenger&l=434 Big $$$ to be made with the HushMail Affiliate Program: https://www.hushmail.com/about.php?subloc=affiliate&l=427
