• Forester@pawb.social
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      edit-2
      3 months ago

      Because that’s the home of root the su command is used to switch user

      • xthexder
        link
        fedilink
        arrow-up
        5
        ·
        3 months ago

        Root’s home has been /root on every distro I’ve ever used ¯\_(ツ)_/¯

        • Forester@pawb.social
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          3 months ago

          Consumer distros vs enterprise systems would be my guess I’m from the RHEL branch

      • kungen@feddit.nu
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        3 months ago

        But “/root” has kinda always been the root user’s home directory, not the root directory /.