• fartographer@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      3 days 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
        3 days 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.