Subject | RE: [firebird-support] Telling if SYSDBA is logged on |
---|---|
Author | Alan McDonald |
Post date | 2004-12-12T00:33:28Z |
> >Is there a property returned from a successful login which canyes - I was thinking that there was a possibility that someone could change
> report to the
> >application that the person logged on is the sysdba of the server?
> >If not, what is the quickest/least disturbing exception one
> could attempt to
> >test if this user is the sysdba?
>
> Why wouldn't you just read the username (variable/property/DPB parameter)
> that was passed for the connection?
>
> ./hb
the username SYSDBA to something else. But I see now that that's not
possible (?).
You are told in GSEC docs that you have to delete a user and re-create one
if you ever want to change a username. I have never tried it but I imagine
that you get an exception if you ever tried to delete SYSDBA?
Alan