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
