Discover Centmin Mod today
Register Now

Beta Branch re-enable root user login SSH in el9 OSes in 130.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Sep 4, 2022.

  1. eva2000

    eva2000 Administrator Staff Member

    49,299
    11,296
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,575
    Local Time:
    10:51 AM
    Nginx 1.21.x
    MariaDB 10.x
    re-enable root user login SSH in el9 OSes in 130.00beta01

    - el9 OSes like AlmaLinux 9 and Rocky Linux 9 now out of box disable root user logins. So to ensure same behave as previous el7 and el8 is observed, Centmin Mod on initial install will re-enable root user SSH logins if SSHD_REENABLE_ROOT_LOGINS='y' variable is set by setting up the dynamic config file loaded at /etc/ssh/sshd_config.d/01-permitrootlogin.conf.
    - If after Centmin Mod is already installed you want to disable root user login via SSH, you can just remove /etc/ssh/sshd_config.d/01-permitrootlogin.conf
    - If you want to disable root user login via SSH at initial Centmin Mod install time, you can set SSHD_REENABLE_ROOT_LOGINS='n' in your created persistent config file /etc/centminmod/custom_config.inc prior to running initial Centmin Mod installer


    Continue reading...

    130.00beta01 branch

    Support Centmin Mod


    If you find Centmin Mod useful, please help support Centmin Mod