• @[email protected]
    link
    fedilink
    English
    61 year 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.

    • @TheCheddarCheeseOP
      link
      English
      11 year ago

      does using su count as logging in? because i can do that just fine

      • @[email protected]
        link
        fedilink
        English
        31 year 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.