• smbutil

    From Digital Man@1:103/705 to Accession on Wed Aug 30 17:07:08 2023
    Re: smbutil
    By: Accession to Digital Man on Wed Aug 30 2023 05:06 pm

    Re: smbutil
    By: Digital Man to Accession on Wed Aug 30 2023 11:43 am

    Use the '-f' (force save) option as well: 'scfg -f -a' and then upon exiting SCFG, it should automatically update the config files and all the message base headers.

    That did the trick. Although it gave me an error that it couldn't save to sbbs.ini.

    Ah, thanks for the report. That's now fixed.

    Opened sbbs.ini with nano, put a space on a random empty line and
    saved as the same user and it saved/exited, so not sure what's going on there. However, I didn't need to save anything to sbbs.ini at this point anyway. ;)

    'scfg -f -a' should fix the message bases to align again with your configuration.

    Definitely did, and smbutil mp100 *.shd worked it's magic afterwards.

    I start sbbs on boot through systemd. In sbbs.ini under 'User/group
    name to run as' I have my user and group (not root). I don't seem to
    have any permissions conflicts whatsoever. 'top -c' says
    /home/axisd/sbbs/sbbs d is being run by my user, not root.

    Remove the user/group settings in the [unix] section of sbbs.ini in that case.

    I actually tried a different route, but similar. Instead, I took a look at the latest sbbs.service on the wiki and noticed I wasn't specifying a user and group in mine, so I added my user and group to that, restarted sbbs and haven't seen the error since. *shrug*

    Is it still safe to remove the user/group setting from the [unix] section of sbbs.ini? Or should I leave it the hell alone now that it's working? ;)

    I'd remove the user/group settings from sbbs.ini - they were only for use in scenarios where you need sbbs to change the effective user/group. Since you're using Linux capabilities (I assume), you don't need to start sbbs as root, so you don't need sbbs to change identities.
    --
    digital man (rob)

    This Is Spinal Tap quote #42:
    What day the Lord created Spinal Tap and couldn't he have rested on that day? Norco, CA WX: 90.4øF, 40.0% humidity, 8 mph SSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)