• Forester
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    4
    ·
    edit-2
    7 months ago

    su root

    cd ~

    chown * root

    mv usr/ussr/ usr/gulag/

    cd usr/gulag/

    touch treason.txt

    touch you_and_siberia_and_stalin.txt

    chown usr/gulag/ 111

      • Forester
        link
        fedilink
        English
        arrow-up
        7
        arrow-down
        1
        ·
        edit-2
        7 months ago

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

          • Forester
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            7 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
          ·
          7 months ago

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

          • TXL@sopuli.xyzBanned from community
            link
            fedilink
            arrow-up
            3
            ·
            7 months ago

            It hasn’t. That’s a fairly recent (1990’s) innovation.