Subject | Re: Problem using service API to run a remote backup |
---|---|
Author | phil_hhn |
Post date | 2007-02-26T04:16:37Z |
--- In Firebird-Java@yahoogroups.com, Christian Stengel
<christian_stengel@...> wrote:
And we know how lax some sites are about giving the root password to
everyone.
<christian_stengel@...> wrote:
> you don't need to. You could set the username and the password usingGreat idea... Unfortunately the root user can read it... :(
> environment variables:
>
> #! /bin/sh
>
> export ISC_USER=sysdba
> export ISC_PASSWORD=masterkey
> /Library/Frameworks/Firebird.framework/Resources/bin/isql
> 127.0.0.1:database
>
> If you set this script 700 you can only execute and read it as root -
> no user can see the password or the username - and no user can
> execute it.
> CU,
> Chris
And we know how lax some sites are about giving the root password to
everyone.