Subject | FBRunUser on Debian |
---|---|
Author | Thomas |
Post date | 2004-02-29T13:34:21Z |
Hi people,
I don't know if this has been reported before, but changing the user
firebird is running as to something other than root does not work for me
on Debian 3.0.
Firebird will still run as root after
/etc/init.d/firebird stop
/etc/init.d/firebird start
I worked around this by changing the line
start-stop-daemon --start --quiet --oknodo --user $FBRunUser --exec
$MANAGER -- $FB_OPTS
to
echo "/sbin/start-stop-daemon --start --quiet --oknodo --user $FBRunUser
--exec $MANAGER -- $FB_OPTS" | su $FBRunUser
in /etc/init.d/firebird
It seems to be that the --user switch for start-stop-daemon is meant to
check for currently running instances with that user id/name, not for
starting the daemon as that user.
Regards,
Thomas
I don't know if this has been reported before, but changing the user
firebird is running as to something other than root does not work for me
on Debian 3.0.
Firebird will still run as root after
/etc/init.d/firebird stop
/etc/init.d/firebird start
I worked around this by changing the line
start-stop-daemon --start --quiet --oknodo --user $FBRunUser --exec
$MANAGER -- $FB_OPTS
to
echo "/sbin/start-stop-daemon --start --quiet --oknodo --user $FBRunUser
--exec $MANAGER -- $FB_OPTS" | su $FBRunUser
in /etc/init.d/firebird
It seems to be that the --user switch for start-stop-daemon is meant to
check for currently running instances with that user id/name, not for
starting the daemon as that user.
Regards,
Thomas