[Pkg-firebird-general] Re: [Firebird-devel] fb 1.5.1 is not starting with othe user than root

Mark O'Donohue mark.odonohue@firebirdsql.org
Tue, 20 Jul 2004 16:45:07 +1000


Hi Daniel

Daniel Urban wrote:
> Hi Nickolay
> 
> 
>>>I've run
>>>./SSchangeRunUser.sh

SSchangeRunUser.sh was previously used to change the user to a user 
other than root.  This version runs as user firebird by default, so Im 
not sure the script SSchangeRunUser.sh is as relevant as it once was 
(although if delivered it is obviously best if it the script is modified 
  to work).

I think in your case, setting up the debian installer, you want to look 
at the setup and permissions as done permissions users in installation.

for linux fb1.5.X there are in:
in: firebird2/src/install/arch-specific/linux/classic

classic/makeInstallImage.sh.in
classic/preinstall.sh.in
classic/postinstall.sh.in
classic/preuninstall.sh.in
classic/postuninstall.sh.in

and super has the same:
in: firebird2/src/install/arch-specific/linux/super

super/makeInstallImage.sh.in
super/preinstall.sh.in
super/postinstall.sh.in
super/preuninstall.sh.in
super/postuninstall.sh.in

After configure these end up in firebird2/gen/install/scripts

makeInstallImage.sh builds a relative replica image of the destination 
directories.  The pre/post install scripts run at installation and 
handle adding firebird user/checking if fb already exists/changing 
default SYSDBA passwords etc.

These scripts are used in both the rpm and .tar.gz builds.

There is also
firebird2/src/install/arch-specific/linux/misc

with various init.d and xinet files.


Hope that helps with what you are trying to do.

BTW, you seem to be doing a pretty damn good job getting through the 
debian packaging.


Cheers

Mark