[Tutor] passwords in scripts

Ben Vinger benvinger at yahoo.co.uk
Tue Jan 24 20:51:53 CET 2006

--- Alan Gauld <alan.gauld at freenet.co.uk> wrote:

> command line arguments?
> $ startapp -d mydb -l user/password &
> That way they are 
> 1) kept secret(especially if you turn shell history
> off ;-) and 
> 2) can be changed every time you restart the server
> app and
> 3) you can have production and test databases
> running simultaneously...

These are good points, but what if the server is
bounced when I'm on holiday (or everyone who might
enter the password is asleep).  
My own little app isn't critical, but I can't see this
do the trick for high profile web sites and similar.

Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com

More information about the Tutor mailing list