Learn about Centmin Mod LEMP Stack today
Register Now

Install No CM info after logging in with different user

Discussion in 'Install & Upgrades or Pre-Install Questions' started by duderuud, May 1, 2021.

  1. duderuud

    duderuud Premium Member Premium Member

    221
    78
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +166
    Local Time:
    12:29 AM
    1.25 x
    10.6
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: latest
    • When was last time updated Centmin Mod code base ? : yesterday
    I have 2 servers, production and beta. On the beta server I created a new Linux user and added it to the wheel group.
    After logging in the CM login screen shows, just like normal under root.


    I did the same thing on my production server but then the CM login doesn't show. How can I fix that so that info comes up again after logging in?
     
  2. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    8:29 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what is output for command below replacing your_new_sudo_username with the newly created linux sudo user
    Code (Text):
    id your_new_sudo_username


    I'd remove existing new user you tried creating as a sudo user and use Centmin Mod 123.09beta01 and higher have a tools/addsudousers.sh script created to properly setup sudo users for elevation to root user. You can add a new sudo user i.e. george via below commands
    Code (Text):
    cd /usr/local/src/centminmod/tools
    ./addsudousers.sh george
    

    However, Centmin Mod is ideally expecting full root user and not sudo users for menu tasks or Centmin Mod related routines.