Discover Centmin Mod today
Register Now

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

    44,163
    10,066
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,556
    Local Time:
    5:01 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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
     
    • Like Like x 1
  2. eva2000

    eva2000 Administrator Staff Member

    44,163
    10,066
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,556
    Local Time:
    5:01 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    @Lav @Chris and other folks using sudo user default servers might want a heads up :)
     
    • Useful Useful x 1
  3. eva2000

    eva2000 Administrator Staff Member

    44,163
    10,066
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,556
    Local Time:
    5:01 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    actually make change that message to switch to full root user instead
    Code (Text):
    sudo -i
     
    • Like Like x 1