Hi,

You need to set the $HOME environment variable to a directory that
contains a suitable .nessusrc.cert

Paul


[EMAIL PROTECTED] wrote:


>Hi all I wonder if someone might be able to help be out here. I am trying
>to run a scheduled nightly scan from cron on a solaris machine.
>
>My cron entry calls a script, at 10pm, the contents of the script are
>as follows:
>
><----nessus-scan.sh------>
>#!/bin/sh
># run scan
>/usr/local/bin/nessus -c ~nessusrc -T html -qx <SERVER> 1241 <LOGON>
><PASSWORD> <TARGETS> <RESULTS>
><----nessus-scan.sh------>
>
>Now my problems is, despite having run the script by hand and saving
>the cert, each time cron tries to run the script it gets prompted to
>save the servers cert. Can anyone recommend a way around this. The server
>doesnt have "yes" so I can't pipe it to that, is there any where I can
>copy an already saved cert to prevent geting prompted in future?
>
>Many thanks
>
>
>--
>
>
>
>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
>
>
>
>

--
Paul Johnston
Internet Security Specialist
Westpoint Limited
Albion Wharf, 19 Albion Street,
Manchester, M1 5LN
England
Tel: +44 (0)161 237 1028
Fax: +44 (0)161 237 1031
email: [EMAIL PROTECTED]
web: www.westpoint.ltd.uk






Reply via email to