Re: Re: SynchroNET & Pi
By: IB Joe to KK4QBN on Tue Mar 13 2018 09:47:52
KK>> Umm, afaik its easier running sbns under root than it is any other
KK>> user.
IJ> Tried the root thing and it didn't work out too well for me. I missing a
IJ> few things... my complete lack of understanding is getting in the way.
IJ> sudo ~/sbbs/exec/sbbs and it craps out... environment issues does not know
IJ> where the ~/sbbs/ctrl directory is. In synchronet wiki page on how to
IJ> install Synchronet on a Pi stated that I should use an export command...
IJ> export SBBSCTRL=~/sbbs/ctrl ... doesn't help me too much here.
sudo is not really running under root.. it gives sbbs permision to bind ports
long enough and then switches back to whatever uuser you are running sbbs
under. for sudo to work you would need to put that username in your sudoers
file.
now to run as root just pull up a terminal ctrl+alt+f1, etc and login as root..
or use the command su to login as root..
I would still recommend using sudo, but that user would need to be in the
sudoers file, and make sure all the file permissions, names are correct.
I just about bet that the username you are using is'nt in the sudoers file.
there is a difference between sudo and su.
IJ> I am missing the fundimentals.... frustrating!!!
it's the tiny, simple crap that always gets me.. it took me a good month or to
to export the SBBBSCTRL variable correctly :)
--
Tim Smith (KK4QBN)
KK4QBN BBS
---
* Synchronet * KK4QBN BBS - kk4qbn.com - kk4qbn.synchro.net - Chatsworth GA
USA
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|