Subject | Re: Calling gsec from a Delphi app |
---|---|
Author | martinagren |
Post date | 2007-02-01T15:26:10Z |
Thx Stefan,
I will try that.
/M
--- In firebird-support@yahoogroups.com, Stefan Heymann <lists@...>
wrote:
I will try that.
/M
--- In firebird-support@yahoogroups.com, Stefan Heymann <lists@...>
wrote:
>its
> You can pass GSEC all parameters at once so you don't have to enter
> interactive mode.
>
> Example:
>
> To modify a user's password:
>
> Change password of ELVIS to "MyKey37":
> gsec -user SYSDBA -password masterkey -modify elvis -pw MyKey37
>
> This is one call and GSEC will return after that without entering
> interactive mode.calling
>
> You can get more info about GSEC here:
> http://www.destructor.de/firebird/gsec.htm
>
> You don't need any DB components for calling that, just a simple
> WinExec or ShellExecute.
>
> Best Regards
>
> Stefan
>
> > Maybe this is easier than expected, I have not yet tried, but
> > gsec is not only invoking a program with params, it is callinggsec
> > with input params (sysdba user and password) and then calling the
> > modify function with new params (i.e username, changed password).
>
> > As for the components I use DBExpress for data access and would
> > prefer not to involve new component suites, like IBObjects.
>