• russjr08@outpost.zeuslink.net
    link
    fedilink
    English
    arrow-up
    6
    ·
    11 months ago

    A lot of distros “lock” the root account, a locked account cannot be logged into. You can generally do this way say, usermod -L account_name to lock an account, or usermod -U account_name to unlock one (there are numerous ways to do).

    I couldn’t remember if setting a password for an account auto-unlocked it, I believe at one point this was the case but wasn’t 100% sure.

      • russjr08@outpost.zeuslink.net
        link
        fedilink
        English
        arrow-up
        3
        ·
        11 months ago

        I actually can’t recall off the top of my head, however if you can login with su then it shouldn’t be a problem either way.

        But to the root (ha!) of your original question, yes definitely make sure to set a password for the root account.