You should be able to use a linux distro without even touching sudo commands. Why should I use sudo to add a repository?

You should be able to use a linux distro without even touching sudo commands.

Why should I use sudo to add a repository?
Why should I use sudo to modify simple settings?
Why should I use sudo to install a simple update?
Why should I use sudo to install an app that is already in the repos?
>"Yeah, install this application with sudo command. Btw, we need to delete your DE. Since you allowed with sudo, your DE is gone."
>"nothing personnel"

  1. 4 weeks ago
    Anonymous

    >yes do as I say
    >*does as you say*
    >how could this happen to me

    • 4 weeks ago
      Anonymous

      Dependency of a dependency of a dependency of a dependency of a dependency became malicious?

      Heh nothing personnel, this little post install script you never intended to install just took over your computer. Thanks sudo

      • 4 weeks ago
        Anonymous

        Whatever you say pajeet. Go fuck a cow.

      • 4 weeks ago
        Anonymous

        Interesting, and how many times has this happened to you now?

        • 4 weeks ago
          Anonymous

          Considering his esl spelling, none, and he’s a paid shill who makes 2rs an hour. To post anti-linux threads in the vain hope we see it and switch to Windows or Mac.

          • 4 weeks ago
            Anonymous

            >pajeet bricked his system again
            >better stop using Linux

      • 4 weeks ago
        Anonymous

        >never intended to install
        Then press N

      • 4 weeks ago
        Anonymous

        Are you unaware that you're actually supposed to look at what you install BEFORE you install it? Also, nothing runs until you run it, NOTHING. There are no post install scripts, this isn't fucking windows FFS.

  2. 4 weeks ago
    Anonymous

    PEBAK problem.

  3. 4 weeks ago
    Anonymous

    >I just want to use polkit for everything

  4. 4 weeks ago
    Anonymous

    thats why you
    1. configure the commands you want to be able to use without sudo, to not use sudo. You can do this on Arch or Artix. You're using one of those, right?
    2. always check the .PKGBUILD . You're using arch/artix, right?

    • 4 weeks ago
      Anonymous

      No, I'm not an updooter.

    • 4 weeks ago
      Anonymous

      I randomly install whatever I want from the aur with yay. Currently sitting at 1860 packages. Been doing that for a couple years and never has any update broken my system.

      • 4 weeks ago
        Anonymous

        Yay is amazing

  5. 4 weeks ago
    Anonymous

    >nothing personnel
    Fuck off street shitter.

  6. 4 weeks ago
    Anonymous

    uninstall polkit, sudo, doas
    chown -R user:user /
    reboot
    free yourself

    • 4 weeks ago
      Anonymous

      That won’t just give you all possible permissions, just a few more. You can just setup autologin as root and do everything as root

  7. 4 weeks ago
    Anonymous

    >You should be able to use a linux distro without even touching sudo commands.
    take the Puppy pill, login as root

  8. 4 weeks ago
    Anonymous

    >Why should I use sudo to add a repository?
    >Why should I use sudo to modify simple settings?
    >Why should I use sudo to install a simple update?
    >Why should I use sudo to install an app that is already in the repos?
    Because you are modifying the system.
    The "apps" aren't user data, they are part of the system.
    Although Flatpaks and stuff exist if you specifically want things Android-style.

  9. 4 weeks ago
    Anonymous

    sudo has got really good command completion when using bash.

    t. devuan user

  10. 4 weeks ago
    Anonymous

    >waaa I don't want to touch sudo
    >why should I use sudo to add a repository
    So you want a remote server to be able to modify your distro without having any higher level of access? So what you are saying if you leave your computer unlocked and unattended I should be able to download anything to it.
    >why sudo for simple settings
    You don't always need sudo you are going to have to be specific.
    >why sudo for update
    Update could fail and to update you need to modify protected files and systems.
    >why sudo to install app in repo?
    >why sudo to add repo?
    So what you are saying is you want arbitrary installation just because someone has access to your machine. Do you know what's funny windows doesn't even let you do that. That window that pops up saying yes or cancel is secretly a sudo that uses your accounts privilege to install something. The only difference is that it is less secure because they don't require you to input your password again.
    >deleted DE meme
    It specifically said it was going to do that and even gave him a specific prompt to warn him what he was doing was probably not what he wanted. Its not Linux's fault that some people are illiterate and can't read a simple prompt. People should be allowed to delete their DE if they want to. It shouldn't be a hidden function just because someone doesn't feel like reading.

    • 4 weeks ago
      Anonymous

      He is right. The Debian approach to have everything system-wide installed is just sysadmin retardation.
      Thankfully, the white man's package manager, Nix, lets you do user installs.

      • 4 weeks ago
        Anonymous

        >system wide is bad
        It makes more sense to do this
        >nix good
        Sure, but the avoiding system wide installs is not the reason. I mean if I was in a multiuser environment would it make any sense not to allow them to use packages installed to the system? Why would I want to install the same package twice just because I was too lazy to use sudo for its intended purpose.

        • 4 weeks ago
          Anonymous

          >The Debian approach to have everything system-wide installed
          >The Debian approach
          All normal distributions since forever install everything as part of the system, that's the traditional way of doing stuff in ganoo lonox regardless the distribution.

          naggers, the point of user installs isn't to replace system installs. Of course most of the system should be already there. But it's stupid not to have an option for users to complement when they need something, without having to wait a week for an authorization from IT every time they need some utility.
          >but muh disk space
          Users WILL use disk space anyway by doing local builds, or using Nix, or using language specific package managers that let you do user installs like pip.

          • 4 weeks ago
            Anonymous

            Users shouldn't install software on computers, authorized administrators should

            • 4 weeks ago
              Anonymous

              >t. sysadmin
              This attitude is absolutely retarded. You can't work like that with modern software.
              What? The data scientist is gonna want to install tensorflow, and he just has to pass the list of 50 dependencies through you?

              • 4 weeks ago
                Anonymous

                >What? The data scientist is gonna want to install tensorflow, and he just has to pass the list of 50 dependencies through you?
                If he's going to install it systemwide then yes, that's exactly what he must do. Because it's administrator who's responsible for computers and software that running on them. Otherwise he can do anything he want including installing and running software in userspace.

              • 4 weeks ago
                Anonymous

                Or you could stop being a human obstacle, and separate your development servers from production servers.

              • 4 weeks ago
                Anonymous

                The data scientist doesn't know what he wants.

            • 4 weeks ago
              Anonymous

              Biil Gates?

            • 4 weeks ago
              Anonymous

              Freedom

          • 4 weeks ago
            Anonymous

            Free dumb

            Captcha:R404R

      • 4 weeks ago
        Anonymous

        >The Debian approach to have everything system-wide installed
        >The Debian approach
        All normal distributions since forever install everything as part of the system, that's the traditional way of doing stuff in ganoo lonox regardless the distribution.

  11. 4 weeks ago
    Anonymous

    nagger, you can't install software systemwide on Windows without admin rights either

    • 4 weeks ago
      Anonymous

      Why would I want to install software systemwide? I'm the only one using the computer

  12. 4 weeks ago
    Anonymous

    Agree, doas just works.

    • 4 weeks ago
      Anonymous

      i dont use sudo. i login as root. user should not ever have elevated privileges. this is why debian is based. it doesnt have user in sudoers and netinstall doesnt even have sudo command, so you can install doas if and then whitelist only specific commands you want user to be able execute

      doas is the same shit. just use su. you can have it function exactly like doas or sudo.

      [...]

      • 4 weeks ago
        Anonymous

        ~~minimalism~~ uwu ~~

      • 4 weeks ago
        Anonymous

        i mean you have to use su to install doas. it's just i cant be arsed using root to do basic things like shutdown and reboot, i want user to be able to do it without passwords

  13. 4 weeks ago
    Anonymous

    they have an answer for that
    >login
    >username: root
    user accounts are bloat

  14. 4 weeks ago
    Anonymous

    >You should be able to use a linux distro without even touching sudo commands.
    What is Polkit fucking mongoloid?

  15. 4 weeks ago
    Anonymous

    i dont use sudo. i login as root. user should not ever have elevated privileges. this is why debian is based. it doesnt have user in sudoers and netinstall doesnt even have sudo command, so you can install doas if and then whitelist only specific commands you want user to be able execute

  16. 4 weeks ago
    Anonymous

    log in as root

  17. 4 weeks ago
    Anonymous

    I can't believe people get filtered by shell package managers.
    Typing "sudo apt-get install X" is easier than even double clicking an .exe file.
    Nuking your DE as a result of trying to install something is like getting a virus because you tried to play a file named "song.mp3.exe", look at what you're actually doing and use some common sense.

    • 4 weeks ago
      Anonymous

      >Typing "sudo apt-get install X" is easier than even double clicking an .exe file.
      Lmao.
      >1 hand to use mouse
      >or 2 hands to type
      Yeah I’m going with the thing you double click in under a second retard

      • 4 weeks ago
        Anonymous

        >Lmao.
        NTA but isn't it? Presumed you had to google the exe-file from some random site and click 'save as'.

        • 4 weeks ago
          Anonymous

          You also need to accept EULA, click "Next" 10 times and uncheck all that malware the wizard offers.

  18. 4 weeks ago
    Anonymous

    >Why should I use sudo to add a repository?
    The distro already gives you the correct repos to use. Add incorrect repos and fuck up your distro.
    >Why should I use sudo to modify simple settings?
    You're modifying settings that are configured by the distro's creators. Just use the settings they give you or risk fucking up your distro.
    >Why should I use sudo to install a simple update?
    You don't have to. Use the GUI.
    >Why should I use sudo to install an app that is already in the repos?
    Don't. Again, use the GUI.

  19. 4 weeks ago
    Anonymous

    dont worry systemd is gonna fix that for you since its geared toward nagger users like gnome

  20. 4 weeks ago
    Anonymous

    apt install sudo -y

  21. 4 weeks ago
    Anonymous

    just put all you apps in your home directory

  22. 4 weeks ago
    Anonymous

    Sudo was a mistake

    • 4 weeks ago
      Anonymous

      Multi-user was a mistake. Stop turning Personal Computers into mainframes. They're called *Personal* Computers for a reason.

      • 4 weeks ago
        Anonymous

        server os. you cannot survive on user os in day and age where internet is everything and everything tied to it
        cope

        • 4 weeks ago
          Anonymous

          Maybe making the internet everything was a mistake.
          Now your turn to cope.

      • 4 weeks ago
        Anonymous

        kek
        My first linux was ubuntu and I set up Administrator, User and a Guest account on it. What a waste of time. All my newb references were in the user account so when I had to switch users to admin all my references were logged out as well. Good times. All the accounts were made early in the morning on no sleep "gonna figure this shit OUT!"

  23. 4 weeks ago
    Anonymous

    Most GNOME using distros in their default installation will usually setup all the polkit and d-bus APIs to do everything you just said sans adding repositories (discluding user flatpak repos).
    Sounds like you really don't know what you're talking about or what you're doing. Please describe the issue you're having fully in the appropriate general next time.

  24. 4 weeks ago
    Anonymous

    What's thw difference between the pre-installed su and the additional sudo?

    • 4 weeks ago
      Anonymous

      Su logs in as root and requires either elevated privileges or root password, sudo only requires the users password and elevates the command to root privilege you can type sudo su to log in as root without root password

    • 4 weeks ago
      Anonymous

      like

      Su logs in as root and requires either elevated privileges or root password, sudo only requires the users password and elevates the command to root privilege you can type sudo su to log in as root without root password

      said, sudo allows users to perform actions as root without the root password
      also sudo lets you do uncomplicated one-line commands as root, rather than switching to root, running a command, and then exiting back to your normal user
      su is actually a command to switch user, and by default it will attempt to switch to root, su requires you to enter the password of the user you are attempting to switch to, so unless you have root password you cannot su to root
      however, root can su to any user without a password, so this can be bypassed by doing "sudo su" like the other guy said, but not only could you do that you could also then switch to another user account besides root by doing "sudo su [user]"

      • 4 weeks ago
        Anonymous

        Why would I do all that if I'm signed in as an admin and had a PROPER GUI?

        • 4 weeks ago
          Anonymous

          you wouldn't
          retard

          • 4 weeks ago
            Anonymous

            Retard? I use a computer to write invoices, estimates, customer, wholesaler and vendor correspondence. Track inventory, billing manhours, expense reports and job budgets. 4 times a year I do taxes on it and every day update data for those taxes and so on ad nauseum. Without a PROPER GUI I skip sleeping and eating. Do you understand why a proper GUI has a place (fyi I have NO love for winblows nor Mac. They simply have what is needed to be productive and organized in widely accepted formats).
            Retard

            • 4 weeks ago
              Anonymous

              What the fuck are you even on about

              • 4 weeks ago
                Anonymous

                Meow?

  25. 4 weeks ago
    Anonymous

    Switch to Haiku, it's not a multi-user OS by default.

  26. 4 weeks ago
    Anonymous

    Did you know that on Windows you need administrator rights to remove icons from the desktop? Now that's retarded.

    • 4 weeks ago
      Anonymous

      That's only for the public desktop so that Bob from accounting can't remove the browser shortcut and then complain he doesn't have internet anymore.

  27. 4 weeks ago
    Anonymous

    su -

    • 4 weeks ago
      Anonymous

      And if you want to run one command as root - without sudo and without login s root - just:

      su -c <command>

  28. 4 weeks ago
    Anonymous

    flatpak install fuck_naggers
    Nothing personal, kid

  29. 4 weeks ago
    Anonymous

    you should be able to use windows without ever hitting "allow" on a uac prompt

  30. 4 weeks ago
    Anonymous

    why don't you just configure your sudo like you wish? you could just set it so nothing requires a password. this is not w[ndows you can do whatever you want

  31. 4 weeks ago
    Anonymous

    I still don't know how to shut down a computer from the terminal without using sudo.

    • 3 weeks ago
      Anonymous

      Because it's a multi-user OS at core. It's so you can't shut down the whole supercompute cluster(they still run linux in 2023). Not much point to it on a deskop OS but not a big deal really.

  32. 4 weeks ago
    Anonymous

    > Modifying system settings should be able to be done by any user on a mainframe Unix OS
    > Same goes for installing systemwide packages

  33. 3 weeks ago
    Anonymous

    Yes. I switched to pkexec. It spawns a cool graphical password prompt unlike sudo and doas

  34. 3 weeks ago
    Anonymous

    You can compile and install almost anything you want without privilege escalation(or dl precompiled binaries where available). You need sudo to install OS packages because the OS directories(eg /usr) are protected from your normal user, as are package metadata etc.

  35. 3 weeks ago
    Anonymous

    Someone probably already mentioned it but you don't need sudo. Just install flatpaks, for system updates there are DE widgets that allow you to do it without sudo, or just use automatic updates.

Your email address will not be published. Required fields are marked *