• black0ut@pawb.social
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    11 hours ago

    Linux apps follow simplicity principles. If you don’t have permission to delete a file, why assume you may know the password of the user who has permission?

    You can preface sudo to any command to execute it with root privileges, which would be similar to running as admin in windows.

    Graphical apps do tend to ask for authentication if it makes sense. No userland apps should need more permissions than the current user’s in order to run.

    • NiHaDuncan@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      44 minutes ago

      Small pedantic correction, but you can’t preface every command with sudo; only executables can be invoked with sudo as it can’t elevate your current shell. Naturally, the way to execute non-executables such as builtin routines as root is to just spawn into a root shell with sudo su.