Want to subscribe to topics you're interested in?
Become a Member

Install Almalinux no root user as default

Discussion in 'Install & Upgrades or Pre-Install Questions' started by pamamolf, Feb 10, 2024.

  1. pamamolf

    pamamolf Well-Known Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +838
    Local Time:
    10:29 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    Hi,

    After installing from OVH panel Almalinux 8 i got a normal user named almalinux and not the root as we got with Centos 7.


    What's the proper way to handle it for Cenntminmod?

    Thanks in advance!
     
  2. duderuud

    duderuud Premium Member Premium Member

    266
    88
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +188
    Local Time:
    9:29 PM
    1.27 x
    10.6
    Enable root user and use that to install CMM?
     
  3. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    3:29 AM
    Mainline
    10.2
    sudo -i?
     
  4. eva2000

    eva2000 Administrator Staff Member

    55,458
    12,257
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,841
    Local Time:
    5:29 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    For OVH it installs a default sudo user almalinux for Almalinux or rockylinux for Rocky Linux so all you have to do is login as sudo user and switch to root user via sudo su -. I use SecureCRT so I configure it to default SSH session for OVH AlmaLinux or RockyLinux to login as sudo user and auto switch to root user. So I don't have to do anything and just login as usual.

    SecureCRT SSH client allows me to do all sorts of this at initial SSH login if I want :D SecureCRT is :cool:

    securecrt-sudo-root1.png

    securecrt-sudo-root2.png

    Yes this setup defeats the intended purpose of sudo users though :whistle::oops: