lemmy.dudeami.win
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Morph9@lemmy.zip to linuxmemes@lemmy.worldEnglish · 2 days ago

Sudo disbelief

lemmy.zip

external-link
message-square
87
link
fedilink
344
external-link

Sudo disbelief

lemmy.zip

Morph9@lemmy.zip to linuxmemes@lemmy.worldEnglish · 2 days ago
message-square
87
link
fedilink
alert-triangle
You must log in or # to comment.
  • AA5B@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    1 day ago

    Look at OP, claiming to have that mythical girlfriend who will make a sandwich without escalating privileges

  • TipsyMcGee@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    7
    ·
    1 day ago

    If I’m using the CLI, it tends to be for things that require root access. Can’t properly skull fucm my system without root

  • CrazyLikeGollum@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    You’re right, just add Sudo -s to /etc/profile

  • SilentObserver@lemmy.world
    link
    fedilink
    arrow-up
    15
    ·
    2 days ago

    Don’t need sudo if you’re always root.

    Now excuse me. I need to call the bank and find out why my checking account is suddenly $0.

    • shane@feddit.nl
      link
      fedilink
      arrow-up
      3
      ·
      2 days ago

      And yet half the time when I’m root I preface with sudo. I can’t stop myself!

  • BeatTakeshi@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    2 days ago

  • nieceandtows@programming.dev
    link
    fedilink
    arrow-up
    66
    arrow-down
    2
    ·
    2 days ago

    Yeah I only use sudo once, for the su.

    • caseyweederman@lemmy.ca
      link
      fedilink
      arrow-up
      5
      ·
      2 days ago

      Straight to jail.

    • Hawke@lemmy.world
      link
      fedilink
      arrow-up
      42
      ·
      2 days ago

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

      • Snot Flickerman@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        20
        ·
        2 days ago

        Some people just want to watch the world burn.

      • exu@feditown.com
        link
        fedilink
        English
        arrow-up
        8
        ·
        2 days ago

        I don’t think many people know about this feature

      • CoyoteFacts@piefed.ca
        link
        fedilink
        English
        arrow-up
        7
        ·
        2 days ago

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

      • nieceandtows@programming.dev
        link
        fedilink
        arrow-up
        6
        arrow-down
        1
        ·
        2 days 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
          ·
          2 days ago

          But you can do that without involving ‘su’.

          • slothrop@lemmy.ca
            link
            fedilink
            English
            arrow-up
            7
            ·
            edit-2
            2 days 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
            5
            arrow-down
            1
            ·
            2 days ago

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

            • Hawke@lemmy.world
              link
              fedilink
              arrow-up
              12
              ·
              2 days 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
                4
                ·
                2 days ago

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

    • MonkderVierte@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      I’ve seen that piece, mostly in beginner instructions, for a root shell. But does it even make sense? Why run a elevated su? Just run su.

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

        I think some distros don’t expose or create a root password and make you do sudo su. I might be wrong.

    • stupidcasey@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 days ago

      I just delete every user but root.

  • Snot Flickerman@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    51
    ·
    2 days 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.

    • exu@feditown.com
      link
      fedilink
      English
      arrow-up
      10
      ·
      2 days ago

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

  • TomMasz@piefed.social
    link
    fedilink
    English
    arrow-up
    35
    ·
    2 days ago

    How else will the OS know I’m serious ?

    • lost_faith@lemmy.ca
      link
      fedilink
      arrow-up
      9
      ·
      2 days ago

      “Yes, Do as I say!”

  • Samsy@lemmy.ml
    link
    fedilink
    arrow-up
    40
    arrow-down
    1
    ·
    2 days ago

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

    • plateee@piefed.social
      link
      fedilink
      English
      arrow-up
      17
      ·
      2 days ago

      Ah, I see your problem, you need to add --no-preserve-root.

      See the French are super into wine - and grape vines are notoriously hard to get rid of, so if you want to really get rid of the French language pack, you need to rip that grapevine out by the root (e.g. don’t preserve the root). Otherwise, the French language pack will just grow back harder and Frenchier than before.

      Sacrebleu!

      • Samsy@lemmy.ml
        link
        fedilink
        arrow-up
        4
        ·
        2 days ago

        Mondieu!

        How could I have forgotten that?

    • eatham 🇦🇺@aussie.zone
      link
      fedilink
      English
      arrow-up
      25
      ·
      2 days ago

      Works fine with sudo, removes all the French bloat.

      • wltr@discuss.tchncs.de
        link
        fedilink
        arrow-up
        13
        ·
        2 days ago

        I see French bloated my system to the fullest!

        • Samsy@lemmy.ml
          link
          fedilink
          arrow-up
          13
          ·
          2 days ago

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

  • phaedrus@piefed.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 days ago

    root@box ~# sudo fdisk -l

    spiderman pointing at spiderman

  • blaue_Fledermaus@olio.cafe
    link
    fedilink
    English
    arrow-up
    17
    ·
    2 days ago

    IMO the “year of the Linux desktop” will come when distros are designed for people who shouldn’t even be allowed to use sudo.

    • WFH@lemmy.zip
      link
      fedilink
      arrow-up
      17
      ·
      edit-2
      2 days ago

      Let me introduce you to atomic distros.

      I moved my father on Bluefin 1.5 years ago from his antique MacBook Air. He doesn’t know sudo exists. He has never heard of ujust. He doesn’t even command line. He hasn’t had to do a single update because it all happens in the background. He just… uses it.

      • Skullgrid@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        2 days ago

        doesn’t even have to be atomic, I rescued my wife’s shit laptop using Ubuntu Mate (snaps booing in background) and she has never seen the command line unless I open it. It’s been like that for over a year at least.

        • WFH@lemmy.zip
          link
          fedilink
          arrow-up
          5
          ·
          edit-2
          2 days ago

          Yes, but contrary to atomic distros, it’s not explicitely designed to be as administration free as possible.

  • bless@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    2 days ago

    sudo wine

  • BurnedDonutHole@ani.social
    link
    fedilink
    arrow-up
    4
    ·
    2 days ago

    Blasphemy!!!

  • Steamymoomilk@sh.itjust.works
    link
    fedilink
    arrow-up
    12
    ·
    2 days ago

    Sudo !!

    👌👌👌 perfection

    • Atomilehma@sopuli.xyz
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      I came here to look for this.

    • Allero@lemmy.today
      link
      fedilink
      arrow-up
      1
      ·
      1 day ago

      So for all that time one could do THIS?

  • dream_weasel@sh.itjust.works
    link
    fedilink
    arrow-up
    16
    ·
    2 days ago

    sudo man sudo

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: !linuxmemes@lemmy.world

Hint: :q!


Sister communities:
  • !tech_memes@lemmy.world
  • !memes@lemmy.world
  • !lemmyshitpost@lemmy.world
  • !risa@startrek.website

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.5K users / day
  • 4.64K users / week
  • 7.26K users / month
  • 16.5K users / 6 months
  • 1 local subscriber
  • 28.9K subscribers
  • 1.97K Posts
  • 89.2K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org