• @barsquid@lemmy.world
    link
    fedilink
    19 minutes ago

    Reminds me of software saying to put your docker socket into the docker container you are starting for convenience.

  • Possibly linux
    link
    fedilink
    English
    3
    edit-2
    39 minutes ago

    Reminds me of all of those vendors that require Windows Admin for no reason.

  • fmstratA
    link
    English
    45 hours ago

    Tell me you use Ubuntu without telling me you use Ubuntu.

    Wait till you try this on Debian or non Ubuntu variants.

  • bruhduh
    link
    fedilink
    21
    edit-2
    7 hours ago

    Sometimes your package manager asks you for root password every minute while doing few hours long update and cancelling process if you don’t enter anything for few minutes, “yay” aur manager looking at you, and you got to do other things than sit and look in the monitor all day long, things like cleaning house or touching grass for example

  • HubertManne
    link
    fedilink
    2711 hours ago

    just worked a job where I did not have privlages to sudo commands. except su. had to sudo su so I could run a script.

  • @corsicanguppy@lemmy.ca
    link
    fedilink
    English
    99 hours ago

    Wasn’t it 2017 where they had the race condition in sudo su as the command elevates up to root and drops back down?

    Every other year, sudo su was not unsafe but merely ghetto. ‘sudo su’ is the dutch-rudder of ‘sudo’.

    • Dhs92
      link
      fedilink
      1712 hours ago

      Once had a friend run sudo chmod -R 777 / on a (public) Minecraft server we were running back in highschool. It made me die a bit on the inside.

      • Rikudou_Sage
        link
        fedilink
        1510 hours ago

        Doesn’t it break a lot of things? Half the stuff refuses to work when some specific files have too permissive chmod.

        • Dhs92
          link
          fedilink
          88 hours ago

          Really only SSH and sudo broke. sudo would still work but you’d have to re-enter your password every time. It was a painful experience and I’m glad I know better now.

    • masterofn001
      link
      fedilink
      2214 hours ago

      As a one time noob I may have done this once or more.

      To get one thing working I borked everything.

      Understanding permissions is pretty basic. But understanding permission requirements for system and user apps and their config and dirs can be a bit overwhelming at first.

      Thinking a little change to make your life simpler will break something else doesn’t always register immediately.

      Shit, even recently, wondering why my SSH keys were being refused and realising that somehow i set my private keys world readable.

      Thank god SSH checks file and dir permission.

  • Kairos
    link
    fedilink
    310 hours ago

    Can’t programs steal sudo access if the timeout isn’t 0?