Join the community today
Become a Member

Beta Branch update installers do detect non-root user in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Apr 28, 2020.

  1. eva2000

    eva2000 Administrator Staff Member

    59,394
    12,517
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,153
    Local Time:
    4:18 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    update installers do detect non-root user in 123.09beta01

    Should of done this sooner. Updated installer scripts to detect non-root attempts at installation and abort and exit with a message to use sudo if sudo user is detected

    example message when you try to run installers as non-root user

    Code (Text):
    script needs to be run as root user
    if using a sudo user, use:
    
    sudo /home/centos/betainstaller.sh


    Continue reading...


    123.09beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    59,394
    12,517
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,153
    Local Time:
    4:18 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    @Lav @Chris and other folks using sudo user default servers might want a heads up :)
     
  3. eva2000

    eva2000 Administrator Staff Member

    59,394
    12,517
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,153
    Local Time:
    4:18 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    actually make change that message to switch to full root user instead
    Code (Text):
    sudo -i