Subj : Re: Running SBBS as non-root To : Angus McLeod From : Sardaukar Siet Date : Wed Aug 03 2005 06:39 am > Re: Running SBBS as non-root > Start it as root and it will give up > root privs as soon as it's bound the reserved ports. Cool, I did not know this... :) > #!/bin/bash > export SBBSCTRL=/sbbs/ctrl > if [ "$UID" == "0" ]; then > cd /sbbs/exec && \ > /sbbs/exec/sbbs lt > else > echo "Must start as 'root' user." > /bin/su - -c $0 > fi > Thanks! > > - How can I have a script to place in /etc/init.d/ to use like > /etc/init.d/s > > {start|stop|status}? I was told one is available in the install directory, > b > > I can't find it (no files, just two sub-folders) > > I believe Deuce has written one. Ask him to post it or e-mail it to you. > How can I ask him? (sorry for the redundancy) > The developers will have to answer that for you. But why would you want > to do that? You should *not* be distributing binaries of SBBS, so once > you have it built, there shouldn't normally be any need to package it up. > Sorry, I did not knew of a no-binary rule. I just wanted more people to have a "turnkey" solution to BBSing. Thanks for the info. Thanks for such a fast reply and for all your help! .