[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: server/client programs



On 12-Oct-98 Darren Benham wrote:
> init.d in -2 if there's a request for it... but is "either" still the answer
> if
> the game requires root write privilages to run?  ie.  The save files (which
> shouldn't be player writable) are stored in directories that are currently
> root.root.  But even something else (like games.bin) will require suid or
> sgid

If at all possible it should avoid running as root. You can provide an init.d
script and allow people to install it themselves.  The same script could be
used to manually start the server as well.  So version -1 could place the
script in say /usr/games and version -2 could offer to place it in /etc/init.d
by running update-rc.d.


Reply to: