Subject | Re: [firebird-support] sysdba versus other user |
---|---|
Author | Milan Babuskov |
Post date | 2005-05-03T12:33:47Z |
Mike Dewhirst wrote:
read -p "Enter username: " ISC_USER
read -p "Enter password: " ISC_PASSWORD
call it from bash directly:
source ./script.sh
I know this is OT, but I hope it helps.
--
Milan Babuskov
http://fbexport.sourceforge.net
http://www.flamerobin.org
> Sorry Helen - I wasn't clear enough. I was calling ddl scriptsYou can use "read" to get value into variable.
> (actually, empddl.sql downloaded from the apress site and cut into
> separate parts) from a bash script which set ISC_USER and ISC_PASSWORD.
> I want to put the ddl scripts under version control without including
> passwords. The bash script won't be versioned until I figure out how to
> make it request the password when it runs.
read -p "Enter username: " ISC_USER
read -p "Enter password: " ISC_PASSWORD
> It uses export and those ISC_If you wish them to stay, you can use "source" in the script calling it. Or
> vars evaporate when it exits.
call it from bash directly:
source ./script.sh
I know this is OT, but I hope it helps.
--
Milan Babuskov
http://fbexport.sourceforge.net
http://www.flamerobin.org