• fartographer@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 month ago

    It’s missing the part where invoking su requires your password. For the sake of accuracy, I think you should show how you enter your password.

    Also, I’m nervous about the command ifconfig. Can you try running that and paste your results here, to help quiet my fears, of course.

      • fartographer@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        1 month ago

        Am I incorrect to say that using the command “super user do” can be expressed conversationally as “invoking super user?” I’m confused. The meme literally says “sudo.” And while you don’t need to begin the command with “sudo,” you’ll then get a message asking you to enter your root password. So you’re still kinda invoking super user.

        Maybe you should double-check me, though. Type $ apt-get update into your terminal. If it asks for your password, reply with what you entered to satisfy that prompt. For research reasons.

        • boredsquirrel@slrpnk.net
          link
          fedilink
          arrow-up
          4
          ·
          edit-2
          1 month ago

          su means “switch user” and by default uses root if a root user exists.

          You can use sudo -i, sudo bash (or sudo sh, sudo fish etc), run0 and likely more ways to open a root shell.

          But for running a program with root, use sudo, run0 , pkexec or doas.

          Actually, you should not run internet-facing programs as root. For example when downloading a repo file, download it without root, move it with root.

          But well, most package managers do not care and use don’t use polkit (ask for password when needed). Flatpak, rpm-ostree and some others use polkit well.