
October 29th, 2004, 01:10 AM
|
|
Registered User
|
|
Join Date: Oct 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
script to start apache-ssl in cron
If this is in the wrong place then I apologise but.....
I am trying to run apache(1.3)-ssl on redhat es version 3. The problem I am having is I would like to start it in the cron but I am having trouble with the script.
my script, from memory(I'm not in my office at the mo) goes something like this.
spawn bin/bash
expect "please enter pass phrase"
pause .5
send "pass phrase"
pause .5
exit
the problem I am having is the passphrase is not being sent.
I've tried asking redhat and their response was strip out the pass phrase, but that kind of defeats the object of the site being secure.
Any suggestions will be greatly appreciated
|