Subject Re: [firebird-support] How do you change the SYSDBA Password
Author Helen Borrie
At 08:03 AM 14/03/2007, you wrote:

>I swear I am about ready to go back to stone tablets and a chisel. I
>finally gave up on getting the embedded database to work and now I
>having trouble changing the SYSDBA password. I have searched the docs,
>the net, and this forum and not one of the examples seem to work.
>
>My programming environment:
>W2K (SP4).
>Visual Basic 6.0 (SP6)
>Firebird 2.0
>
>Firebird Registry Entry
> DefaultInstance: C:\Program Files\Firebird_2_0\
> Database Type: Client\Super
>
>Most successful attempts:
>
>C:\Program Files\Firebird\bin\>gsec -database "localhost:C:\Program
>Files\Firebird_2_0\Security2.fdb -modify sysdba -pw masterkey -user
>sysdba -pw abcdefgh

Two different password switches are required: -pas[sword] associated
with the login and -pw associated with the modify command - and watch
that you close the quotes on the -database argument:

C:\Program Files\Firebird\bin\>gsec -database "localhost:C:\Program
Files\Firebird_2_0\Security2.fdb" -modify sysdba -pass masterkey -user
sysdba -pw abcdefgh

./heLen