Subject | Re: [firebird-support] sysdba versus other user [Thanks Milan] |
---|---|
Author | Mike Dewhirst |
Post date | 2005-05-03T14:10Z |
Milan Babuskov wrote:
Thank you
Mike
> Mike Dewhirst wrote:cool
>
>>Sorry Helen - I wasn't clear enough. I was calling ddl scripts
>>(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.
>
>
> You can use "read" to get value into variable.
>
> read -p "Enter username: " ISC_USER
> read -p "Enter password: " ISC_PASSWORD
Thank you
Mike
>
>
>>It uses export and those ISC_
>>vars evaporate when it exits.
>
>
> If you wish them to stay, you can use "source" in the script calling it. Or
> call it from bash directly:
>
> source ./script.sh
>
> I know this is OT, but I hope it helps.
>