PDA

View Full Version : Waste Server Startup script


livet0ski
December 20th, 2005, 08:06 PM
Hey everyone,
I have a quick question. I have a server the I want to start at startup. I'm guessing that I would put a symlink in /etc/init.d/ and then have it run at startup, the only problem is that this server requires a password right after startup. There no options to put the password in at startup of the server, but about 2 seconds after startup, it asks for a password. I obviously know the password, but I'm trying to make it so i can just turn on my Ubuntu box and leave it. How would I do this, i'm no expert at scripts.
Thanks,
Pat

cactus
December 20th, 2005, 08:34 PM
using 'expect' perhaps?
http://expect.nist.gov/
http://en.wikipedia.org/wiki/Expect

livet0ski
December 24th, 2005, 10:46 PM
hmm let me check this out... thanks

harisund
December 25th, 2005, 12:58 AM
what kind of a server? Apache2 mysql etc that I know automatically startup. Could you please be a bit more specific here?