• Best Directory For Synchronet on Linux

    From DesotoFireflite@VERT/VALHALLA to All on Tuesday, August 29, 2017 10:43:46
    I know there has been some discussion, but which is the best place to install Synchronet on Linux for ease of use, permissions, etc. Would I be better off to place it in my home directory, or my root directory. The synchronet wiki said both are ok, but which is better in the long run. Thanks

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    A Gamers Paradise - Over 150 Registered Online Game Doors!

    Play Trade Wars Between 10 Other BBS's On Valhalla's Trade Wars Game Server!

    Featuring Legion, A New RPG, Available On Both Systems!

    --- Fartvergnugen: The pleasure of breaking wind.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From KK4QBN@VERT/KK4QBN to DesotoFireflite on Tuesday, August 29, 2017 11:55:04
    Re: Best Directory For Synchronet on Linux
    By: DesotoFireflite to All on Tue Aug 29 2017 10:43:46

    I know there has been some discussion, but which is the best place to install Synchronet on Linux for ease of use, permissions, etc. Would I be better off to place it in my home directory, or my root directory. The synchronet wiki said both are ok, but which is better in the long run.

    I created the user 'sbbs' installed it in that users home dir, then created symlinks /sbbs from the root filetree then put sbbs in sudoers file, make sure everything belongs to user sbbs (you may can play with different groups here) but mine is just sbbs:sbbs. then I do sudo when starting sbbs so all services can bind.

    NO issues thus far. just make sure user sbbs, or whatever user has access permissions to anything the BBS will have access to.

    --

    Tim Smith (KK4QBN)
    KK4QBN BBS

    ---
    * Synchronet * KK4QBN - kk4qbn.synchro.net - 7064229538 - Chatsworth GA USA
  • From Digital Man@VERT to DesotoFireflite on Tuesday, August 29, 2017 11:50:58
    Re: Best Directory For Synchronet on Linux
    By: DesotoFireflite to All on Tue Aug 29 2017 10:43 am

    I know there has been some discussion, but which is the best place to install Synchronet on Linux for ease of use, permissions, etc. Would I be better off to place it in my home directory, or my root directory. The synchronet wiki said both are ok, but which is better in the long run.

    I don't think there's a clear "better" location. The more Unixy folks would shake their heads at installing a program into the root directory. In the Linux official file system layout, apps are supposed to be installed in /opt: http://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/opt.html
    So at least on Linux, /opt (e.g. /opt/sbbs) would be the more correct install location.

    If you're sharing the system with other users, then I think (a) home directory is a fine installation directory (e.g. /home/you/sbbs) but if it's a dedicated system (just for you) and it's primary purpose is to run Synchronet, then the root directory (e.g. /sbbs) is just fine and has the advantage that the default ctrl directory is /sbbs/ctrl and that'll just work even without any environment variables setup or command-line arguments passed. Of course, you can achieve the same effect with a symlink to the actual install directory if it's not /sbbs.

    digital man

    Synchronet/BBS Terminology Definition #46:
    SMTP = Simple Message Transfer Protocol
    Norco, CA WX: 95.3øF, 39.0% humidity, 4 mph SE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From DesotoFireflite@VERT/VALHALLA to KK4QBN on Tuesday, August 29, 2017 15:24:39
    Re: Best Directory For Synchronet on Linux
    By: KK4QBN to DesotoFireflite on Tue Aug 29 2017 11:55 am

    I know there has been some discussion, but which is the best place
    to install Synchronet on Linux for ease of use, permissions, etc.
    Would I be better off to place it in my home directory, or my root
    directory. The synchronet wiki said both are ok, but which is better
    in the long run.

    I created the user 'sbbs' installed it in that users home dir, then created symlinks /sbbs from the root filetree then put sbbs in sudoers file, make sure everything belongs to user sbbs (you may can play with different groups here) but mine is just sbbs:sbbs. then I do sudo when starting sbbs so all services can bind.

    OK, thanks Tim

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    A Gamers Paradise - Over 150 Registered Online Game Doors!

    Play Trade Wars Between 10 Other BBS's On Valhalla's Trade Wars Game Server!

    Featuring Legion, A New RPG, Available On Both Systems!

    --- Don't eat the yellow snow!
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From DesotoFireflite@VERT/VALHALLA to Digital Man on Tuesday, August 29, 2017 15:28:52
    Re: Best Directory For Synchronet on Linux
    By: Digital Man to DesotoFireflite on Tue Aug 29 2017 11:50 am

    I know there has been some discussion, but which is the best place to
    install Synchronet on Linux for ease of use, permissions, etc. Would I
    be better off to place it in my home directory, or my root directory.
    The synchronet wiki said both are ok, but which is better in the long
    run.

    I don't think there's a clear "better" location. The more Unixy folks would shake their heads at installing a program into the root directory. In the Linux official file system layout, apps are supposed to be installed in /opt: http://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/opt.html So at least on Linux, /opt (e.g. /opt/sbbs) would be the more correct install location.

    If you're sharing the system with other users, then I think (a) home directory is a fine installation directory (e.g. /home/you/sbbs) but if it's a dedicated system (just for you) and it's primary purpose is to run Synchronet, then the root directory (e.g. /sbbs) is just fine and has the advantage that the default ctrl directory is /sbbs/ctrl and that'll just work even without any environment variables setup or command-line arguments passed. Of course, you can achieve the same effect with a symlink to the actual install directory if it's not /sbbs.

    Thanks Rob, it's going to be a dedicated machine, kind of a sister to Valhalla on windows. It's deffinantly a learning experence for this old windows and dos man. :)

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    A Gamers Paradise - Over 150 Registered Online Game Doors!

    Play Trade Wars Between 10 Other BBS's On Valhalla's Trade Wars Game Server!

    Featuring Legion, A New RPG, Available On Both Systems!

    --- A true friend knows who you are... But likes you anyway.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From Tony Langdon@VERT to DesotoFireflite on Wednesday, August 30, 2017 08:30:00
    DesotoFireflite wrote to All <=-

    @TZ: 40f0
    I know there has been some discussion, but which is the best place to install Synchronet on Linux for ease of use, permissions, etc. Would I
    be better off to place it in my home directory, or my root directory.
    The synchronet wiki said both are ok, but which is better in the long
    run. Thanks

    I installed Synchronet in /sbbs. Permissions aren't an issue, chown is your friend there, to make sure that the BBS user owns /SBBS.

    chown -R bbs.bbs /sbbs

    Assuming Synchronet runs as the user "bbs".

    /sbbs is simple and more portable between systems, which is my reason for that preference. If I move off my Pi to an x86(64) host, all I have to do is copy the BBS to the new host, replace the binaries and change the ownership. :)


    ... CRASH: Normal termination.
    --- MultiMail/Win32 v0.49
    * Origin: Freeway BBS - freeway.apana.org.au (3:633/410)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Tony Langdon@VERT to Digital Man on Wednesday, August 30, 2017 08:36:00
    Digital Man wrote to DesotoFireflite <=-

    I don't think there's a clear "better" location. The more Unixy folks would shake their heads at installing a program into the root
    directory. In the Linux official file system layout, apps are supposed
    to be installed in /opt: http://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/opt.html So at least on Linux, /opt (e.g. /opt/sbbs) would be the more correct install location.

    Yes, the purists would agree with you there, that is the more "officially correct" location. I would normally follow this convention, but for a dedicated BBS, /sbbs was as good as any. :)

    If you're sharing the system with other users, then I think (a) home directory is a fine installation directory (e.g. /home/you/sbbs) but if

    If you don't have root access, you'd also have to use non standard ports for FTP, telnet, SSH, SMTP, POP, etc (and incoming email won't work without external assistance). :)

    it's a dedicated system (just for you) and it's primary purpose is to
    run Synchronet, then the root directory (e.g. /sbbs) is just fine and
    has the advantage that the default ctrl directory is /sbbs/ctrl and that'll just work even without any environment variables setup or command-line arguments passed. Of course, you can achieve the same
    effect with a symlink to the actual install directory if it's not
    /sbbs.

    Yep, the purists couls compromise with a symlink from /sbbs to /opt/sbbs. :)


    ... Almost everything in life is easier to get into than out of.
    --- MultiMail/Win32 v0.49
    * Origin: Freeway BBS - freeway.apana.org.au (3:633/410)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mark lewis@VERT to DesotoFireflite on Tuesday, August 29, 2017 20:48:56
    On 2017 Aug 29 10:43:46, you wrote to All:

    I know there has been some discussion, but which is the best place to install Synchronet on Linux for ease of use, permissions, etc. Would I
    be better off to place it in my home directory, or my root directory.
    The synchronet wiki said both are ok, but which is better in the long
    run. Thanks

    max went with a dedicated directory off of '/'... in retrospect, putting it in a dedicated directory off of the account's /home/ would probably have been better... but then there's the muck with dealing with the binkd installation packages and how they also need to be altered to fit one's installation...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... In seeking the unattainable, simplicity only gets in the way.
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Mro@VERT/BBSESINF to mark lewis on Tuesday, August 29, 2017 21:16:18
    Re: Best Directory For Synchronet on Linux
    By: mark lewis to DesotoFireflite on Tue Aug 29 2017 08:48 pm

    max went with a dedicated directory off of '/'... in retrospect, putting it in a dedicated directory off of the account's /home/ would probably have been better... but then there's the muck with dealing with the binkd installation packages and how they also need to be altered to fit one's installation...


    have him move it to /home and then do a symbolic link.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From DesotoFireflite@VERT/VALHALLA to Tony Langdon on Wednesday, August 30, 2017 09:20:56
    Re: Re: Best Directory For Synchronet on Linux
    By: Tony Langdon to DesotoFireflite on Wed Aug 30 2017 08:30 am

    I installed Synchronet in /sbbs. Permissions aren't an issue, chown is your friend there, to make sure that the BBS user owns /SBBS.

    chown -R bbs.bbs /sbbs

    Thanks for the input on this. I think I understand what you are saying, but I'm the owner for the bbs, so would that be chown -R cgl /sbbs

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    A Gamers Paradise - Over 150 Registered Online Game Doors!

    Play Trade Wars Between 10 Other BBS's On Valhalla's Trade Wars Game Server!

    Featuring Legion, A New RPG, Available On Both Systems!

    --- Old farts never die! They just smell that way...
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From DesotoFireflite@VERT/VALHALLA to mark lewis on Wednesday, August 30, 2017 09:25:07
    Re: Best Directory For Synchronet on Linux
    By: mark lewis to DesotoFireflite on Tue Aug 29 2017 08:48 pm

    max went with a dedicated directory off of '/'... in retrospect, putting it in a dedicated directory off of the account's /home/ would probably have been better... but then there's the muck with dealing with the binkd installation packages and how they also need to be altered to fit one's installation...

    Thanks Mark, I'm still sorting this all out and taking notes for now. I want to do it right the first time, so I'm taking my time. I like the dedicated directory idea, and that goes more with my way of doing things.



    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    A Gamers Paradise - Over 150 Registered Online Game Doors!

    Play Trade Wars Between 10 Other BBS's On Valhalla's Trade Wars Game Server!

    Featuring Legion, A New RPG, Available On Both Systems!

    --- FART(n): An audio test of one's waste-disposal system.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From Tony Langdon@VERT to DesotoFireflite on Thursday, August 31, 2017 07:23:00
    DesotoFireflite wrote to Tony Langdon <=-

    @TZ: 40f0
    Re: Re: Best Directory For Synchronet on Linux
    By: Tony Langdon to DesotoFireflite on Wed Aug 30 2017 08:30 am

    I installed Synchronet in /sbbs. Permissions aren't an issue, chown is your friend there, to make sure that the BBS user owns /SBBS.

    chown -R bbs.bbs /sbbs

    Thanks for the input on this. I think I understand what you are saying, but I'm the owner for the bbs, so would that be chown -R cgl /sbbs

    Yeah, mine was an example, "bbs" is probably the most popular username that BBSs run uder that I've seen. :) Mine actually runs under "synchronet". :) And you'll probably want cgl.cgl because it is most likely that you are in a group called "cgl". :)


    ... AAAAAAAA..... American Association Against Any And All Acronym Abuse
    --- MultiMail/Win32 v0.49
    * Origin: Freeway BBS - freeway.apana.org.au (3:633/410)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mark lewis@VERT to DesotoFireflite on Thursday, August 31, 2017 15:41:12
    On 2017 Aug 30 09:25:06, you wrote to me:

    max went with a dedicated directory off of '/'... in retrospect,
    putting it in a dedicated directory off of the account's /home/ would
    probably have been better... but then there's the muck with dealing
    with the binkd installation packages and how they also need to be
    altered to fit one's installation...

    Thanks Mark, I'm still sorting this all out and taking notes for now.
    I want to do it right the first time, so I'm taking my time.

    as noted previously, there's no real right or wrong way ;)

    I like the dedicated directory idea, and that goes more with my way of doing things.

    well, if the account the bbs runs under is dedicated for just that task, putting the BBS in that home directory should be just find... or maybe down one
    more directory like this example where the account:group is bbs:bbs and everything is stored in bbs' ~/sbbs/ directory tree...

    eg:
    /home/bbs/sbbs
    /home/bbs/sbbs/3rdp
    /home/bbs/sbbs/ctrl
    /home/bbs/sbbs/data
    /home/bbs/sbbs/docs
    /home/bbs/sbbs/exec
    /home/bbs/sbbs/fidonet
    /home/bbs/sbbs/mods
    /home/bbs/sbbs/mytemp
    /home/bbs/sbbs/netmail
    /home/bbs/sbbs/node1
    /home/bbs/sbbs/node10
    /home/bbs/sbbs/node2
    /home/bbs/sbbs/node3
    /home/bbs/sbbs/node4
    /home/bbs/sbbs/node5
    /home/bbs/sbbs/node6
    /home/bbs/sbbs/node7
    /home/bbs/sbbs/node8
    /home/bbs/sbbs/node9
    /home/bbs/sbbs/src
    /home/bbs/sbbs/temp
    /home/bbs/sbbs/text
    /home/bbs/sbbs/web
    /home/bbs/sbbs/xtrn


    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Walking on water is NOT part of my job description!
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From DesotoFireflite@VERT/VALHALLA to mark lewis on Thursday, August 31, 2017 18:25:57
    Re: Best Directory For Synchronet on Linux
    By: mark lewis to DesotoFireflite on Thu Aug 31 2017 03:41 pm

    as noted previously, there's no real right or wrong way ;)

    I like the dedicated directory idea, and that goes more with my way
    of doing things.

    well, if the account the bbs runs under is dedicated for just that task, putting the BBS in that home directory should be just find... or maybe down one more directory like this example where the account:group is bbs:bbs and everything is stored in bbs' ~/sbbs/ directory tree...

    Thanks Mark, I like the BBS idea. I've got the idea. I can pretty much do what I want, I just have to point everything to it. I've been doing some reading on Linux the past few days, and things are starting to make sense now.

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    A Gamers Paradise - Over 150 Registered Online Game Doors!

    Play Trade Wars Between 10 Other BBS's On Valhalla's Trade Wars Game Server!

    Featuring Legion, A New RPG, Available On Both Systems!

    --- Don't eat the yellow snow!
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From Ragnarok@VERT/DOCKSUD to DesotoFireflite on Tuesday, September 05, 2017 13:38:12
    El 29/08/17 a las 11:43, DesotoFireflite escribió:
    I know there has been some discussion, but which is the best place to install Synchronet on Linux for ease of use, permissions, etc. Would I be better off to
    place it in my home directory, or my root directory. The synchronet wiki said both are ok, but which is better in the long run. Thanks

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    A Gamers Paradise - Over 150 Registered Online Game Doors!

    Play Trade Wars Between 10 Other BBS's On Valhalla's Trade Wars Game Server!

    Featuring Legion, A New RPG, Available On Both Systems!

    --- Fartvergnugen: The pleasure of breaking wind.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net


    i run it on /sbbs

    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - http://www.docksud.com.ar - telnet://bbs.docksud.com.ar