taxevasion.info
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Morph9@lemmy.zip to linuxmemes@lemmy.worldEnglish · 5 hours ago

Sudo disbelief

lemmy.zip

external-link
message-square
57
fedilink
154
external-link

Sudo disbelief

lemmy.zip

Morph9@lemmy.zip to linuxmemes@lemmy.worldEnglish · 5 hours ago
message-square
57
fedilink
alert-triangle
You must log in or register to comment.
  • dream_weasel@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    ·
    59 minutes ago

    sudo man sudo

  • Naich@lemmings.world
    link
    fedilink
    arrow-up
    2
    ·
    48 minutes ago

    Just once.

    sudo -s

  • mech@feddit.org
    link
    fedilink
    arrow-up
    3
    ·
    60 minutes ago

    Unpopular opinion:
    On 99% of all Linux systems, you don’t need sudo.
    It’s not like you have hundreds of users with varying levels of access logging into your PC.
    Just use root for admin tasks.

  • TomMasz@piefed.social
    link
    fedilink
    English
    arrow-up
    17
    ·
    edit-2
    3 hours ago

    How else will the OS know I’m serious ?

    • lost_faith@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      1 hour ago

      “Yes, Do as I say!”

  • unknown1234_5@kbin.earth
    link
    fedilink
    arrow-up
    3
    ·
    1 hour ago

    sudo dnf --help

  • yesman@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 hour ago

  • leadpipe@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 hour ago

    But how will I run that command I copied from some murky internet forum?

  • msage@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    2 hours ago

    Y’er a root, Harry!!

  • Samsy@lemmy.ml
    link
    fedilink
    arrow-up
    22
    ·
    4 hours ago

    But rm -fr / * seems not to work for removing the French language pack. Can someone confirm if it works with sudo?

    • eatham 🇦🇺@aussie.zone
      link
      fedilink
      English
      arrow-up
      16
      ·
      4 hours ago

      Works fine with sudo, removes all the French bloat.

      • wltr@discuss.tchncs.de
        link
        fedilink
        arrow-up
        9
        ·
        4 hours ago

        I see French bloated my system to the fullest!

        • Samsy@lemmy.ml
          link
          fedilink
          arrow-up
          8
          ·
          edit-2
          3 hours ago

          Glad you fixed it. Don’t forget to reboot.

  • nieceandtows@programming.dev
    link
    fedilink
    arrow-up
    34
    arrow-down
    1
    ·
    4 hours ago

    Yeah I only use sudo once, for the su.

    • Hawke@lemmy.world
      link
      fedilink
      arrow-up
      16
      ·
      4 hours ago

      … but why? “sudo -i” is a thing. Why get another program involved?

      • Snot Flickerman@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        9
        arrow-down
        1
        ·
        4 hours ago

        Some people just want to watch the world burn.

        • B-TR3E@feddit.org
          link
          fedilink
          arrow-up
          3
          ·
          2 hours ago

          Some people think before they type. They also do not think mindlessly typing “sudo” before every fucking line in bash is a valid substitute for knowing what they do. Many of them have been doing so for decades on HPUX, Solaris, BSDs and IRIX on their own and other people’s/companies machines, not just on their single bedroom machine.

      • CoyoteFacts@piefed.ca
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 hours ago

        Personally it’s because my fingers are already on “s” and “u”.

      • exu@feditown.com
        link
        fedilink
        English
        arrow-up
        6
        ·
        4 hours ago

        I don’t think many people know about this feature

      • nieceandtows@programming.dev
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        4 hours ago

        It’s easier to just call su once and run every single command as root rather than having to randomly use sudo for some commands and not for others (/s if it’s not obvious)

        • Hawke@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          4 hours ago

          But you can do that without involving ‘su’.

          • slothrop@lemmy.ca
            link
            fedilink
            English
            arrow-up
            7
            ·
            edit-2
            3 hours ago

            I don’t use sudo.
            Ever.
            It’s disabled by default in slackware, and I don’t know why it’s even there.

          • nieceandtows@programming.dev
            link
            fedilink
            arrow-up
            3
            ·
            3 hours ago

            Tell me how you can run rm rf / no preserve root without su, I’m waiting.

            • Hawke@lemmy.world
              link
              fedilink
              arrow-up
              8
              ·
              3 hours ago

              Is this some kind of joke going over my head or something?

              Run “sudo -i” then run “rm -rf --no-preserve-root”

              • nieceandtows@programming.dev
                link
                fedilink
                arrow-up
                2
                ·
                1 hour ago

                Yeah I’m just joking around. I pretty much never use su except in rare cases

  • FancyPantsFIRE@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    3 hours ago

  • Kristell@herbicide.fallcounty.omg.lol
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    3 hours ago

    I mean, yeah, it’s your computer. Just login on the root account, nothing bad ever comes of that, not even once, nope.

  • Snot Flickerman@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    28
    ·
    edit-2
    5 hours ago

    Shut the front door!


    In a lot of situations it’s actually bad to use sudo because it can impact settings that make programs or file ownership go to root instead of the user.

    • B-TR3E@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 hour ago

      You’ve got to be a damn idiot jumping over his own shadow to get that done. How would you even do that? Running

      chown -R root.root
      

      over directories or mount points? Deleting files in /dev or /run and recreating them using “touch” without looking up ownerships before? I wrote “touch” because anyone proceeding to “mknod” would at least have read some man pages. BTW, you’d need su for that rather than sudo.

    • Lucy :3@feddit.org
      link
      fedilink
      arrow-up
      8
      ·
      5 hours ago

      makepkg won’t even run as root iirc

    • exu@feditown.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 hours ago

      sudo -i -u user -s /usr/bin/bash

  • jdr@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    2 hours ago

    sudo claude just fuck my shit up

  • varnia@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    20
    arrow-down
    1
    ·
    4 hours ago

    Oh, you mean better use doas everywhere? Got it.

linuxmemes@lemmy.world

linuxmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Hint: :q!


Sister communities:
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like “every user of thing”.
  • Don’t get baited into back-and-forth insults. We are not animals.
  • Leave remarks of “peasantry” to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don’t come looking for advice, this is not the right community.
4. No recent reposts
  • Everybody uses Arch btw, can’t quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures

We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.

  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.

 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don’t understand or can’t verify, especially here. The word of the day is credibility. This is a meme community – even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don’t remove France.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.8K users / day
  • 3.78K users / week
  • 7.94K users / month
  • 16.7K users / 6 months
  • 1 local subscriber
  • 28.9K subscribers
  • 1.45K Posts
  • 48K Comments
  • Modlog
  • mods:
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.8
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org