• Ubuntu Install

    From The Lizard Master@VERT/NITEEYES to All on Tuesday, March 31, 2020 23:52:37
    Okay, so I've gotten this far without having to reach out here. I'm not a linux champ but I've been able to -

    Start an ubuntu server
    Install Syncronet
    Add QWK
    Add DosEMU

    I think I'm at a very basic Linux question and hopefully someone can get me the rest of the way there. I am able to run an old door (and hopefully more) using dosemu from the terminal connection. Probably my fault for doing this, but I did everything from the default dir I was placed in /home/ubuntu/sbbs/

    When I try to run any dos door from Sync I get -

    <test user> can't create local /root/.dosemu directory
    <test user> can't create local /root/.dosemu/run directory

    I'm assuming I'm missing a basic directory setting like -

    export SBBSCTRL=/home/ubuntu/sbbs/ctrl

    But I don't know what that is. I made it this far because I didn't want to be annoying and that took me longer than expected, hah, but I just don't know where that dir setting is.

    Been a long time everyone. Hope you are doing well if anyone remebers me!

    ---TLM

    ---
    þ Synchronet þ My Brand-New BBS
  • From The Lizard Master@VERT/NITEEYES to All on Wednesday, April 01, 2020 23:43:06
    Re: Ubuntu Install
    By: The Lizard Master to All on Tue Mar 31 2020 11:52 pm

    <test user> can't create local /root/.dosemu directory
    <test user> can't create local /root/.dosemu/run directory

    Any idea on just these two errors? I feel like this is a dir entry I need to do or something. I'd really appreciate it. I have a door working fine ind dosemu from PUTTY into the server, just can't seem to get sync to actually find dosemu.

    Really appreciate it!

    ---TLM

    ---
    þ Synchronet þ My Brand-New BBS
  • From Gregz@VERT/WHATTHED to The Lizard Master on Thursday, April 02, 2020 00:00:58
    Should not be trying to run as root. Should be running as your username or one for just the BBS software.

    "Remember what the dormouse said: feed your head."
    What the Dormouse Said - whatthed.synchro.net
    ---
    ­ Synchronet ­ What the Dormouse Said - whatthed.synchro.net
  • From ryan@VERT/MONTEREY to The Lizard Master on Thursday, April 02, 2020 01:42:00
    <test user> can't create local /root/.dosemu directory
    <test user> can't create local /root/.dosemu/run directory

    Any idea on just these two errors? I feel like this is a dir entry I need do or something. I'd really appreciate it. I have a door working fine i dosemu from PUTTY into the server, just can't seem to get sync to actually

    I think you're probably launching your bbs as the root user. I prefer to
    launch mine as a regular user, it simplifies a lot of this and IMO feels a
    lot safer. Whole concept of least privilege and whatnot. :)

    --- Mystic BBS v1.12 A46 2020/03/18 (Linux/64)
    * Origin: monterey bbs
  • From Rampage@VERT/SESTAR to The Lizard Master on Thursday, April 02, 2020 06:32:22
    Re: Ubuntu Install
    By: The Lizard Master to All on Wed Apr 01 2020 23:43:06


    <test user> can't create local /root/.dosemu directory
    <test user> can't create local /root/.dosemu/run directory

    Any idea on just these two errors?

    this is a permission's error... you're trying to create something in the root user's directory with a non-root user... that won't work...

    I feel like this is a dir entry I need to do or something.
    I'd really appreciate it. I have a door working fine ind
    dosemu from PUTTY into the server, just can't seem to get
    sync to actually find dosemu.

    sbbs' dosemu resides in /sbbs/ctrl once everything is properly set up... the one you have set up with putty is a completely different one belonging to a completely different user... by the looks of it, one that you've created for the root user... they are not interchangable...

    if you create one with the sbbs user, it will also be different than the one that the bbs uses... it will be in the sbbs user's home directory... again, they are not interchangable...

    it may be possible to use the sbbs one with other users after it is set up but that's not something i've thought about trying... one might want to do this if they want to run a door in local mode without going through the bbs but i just shudder at the thought...


    )\/(ark

    ---
    þ Synchronet þ The SouthEast Star Mail HUB - SESTAR
  • From The Lizard Master@VERT/NITEEYES to Gregz on Thursday, April 02, 2020 09:35:07
    Re: Ubuntu Install
    By: Gregz to The Lizard Master on Thu Apr 02 2020 12:00 am

    Should not be trying to run as root. Should be running as your username or one for just the BBS software.

    Ah thanks! I've used linux in limited capacity over the years and I saw root as root dir, not root user. I'll try that this morning. Thanks for taking the time to reply!

    ---TLM

    ---
    þ Synchronet þ My Brand-New BBS
  • From The Lizard Master@VERT/NITEEYES to ryan on Thursday, April 02, 2020 09:36:49
    Re: Re: Ubuntu Install
    By: ryan to The Lizard Master on Thu Apr 02 2020 01:42 am

    <test user> can't create local /root/.dosemu directory
    <test user> can't create local /root/.dosemu/run directory

    Any idea on just these two errors? I feel like this is a dir entry I need do or something. I'd really appreciate it. I have a door working fine i dosemu from PUTTY into the server, just can't seem to get sync to actually

    I think you're probably launching your bbs as the root user. I prefer to launch mine as a regular user, it simplifies a lot of this and IMO feels a lot safer. Whole concept of least privilege and whatnot. :)

    Thanks! Someone else said the same. I waited until the very last second to try and ask a basic question. Most of them I could work through installing snc, getting the packages going, this one I was just staring at reading it wrong not realizing that was a reference to root user and not root directory.

    Much appreciated!!

    ---TLM

    ---
    þ Synchronet þ My Brand-New BBS