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

Sudo disbelief

lemmy.zip

external-link
message-square
45
fedilink
117
external-link

Sudo disbelief

lemmy.zip

Morph9@lemmy.zip to linuxmemes@lemmy.worldEnglish · 3 hours ago
message-square
45
fedilink
alert-triangle
You must log in or register to comment.
  • TomMasz@piefed.social
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    1 hour ago

    How else will the OS know I’m serious ?

  • msage@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    28 minutes ago

    Y’er a root, Harry!!

  • Samsy@lemmy.ml
    link
    fedilink
    arrow-up
    20
    ·
    2 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
      13
      ·
      2 hours ago

      Works fine with sudo, removes all the French bloat.

      • wltr@discuss.tchncs.de
        link
        fedilink
        arrow-up
        7
        ·
        2 hours ago

        I see French bloated my system to the fullest!

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

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

  • FancyPantsFIRE@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    2 hours ago

  • jdr@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    35 minutes ago

    sudo claude just fuck my shit up

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

    Yeah I only use sudo once, for the su.

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

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

      • CoyoteFacts@piefed.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 hour ago

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

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

        Some people just want to watch the world burn.

        • B-TR3E@feddit.org
          link
          fedilink
          arrow-up
          1
          ·
          3 minutes 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.

      • exu@feditown.com
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 hours ago

        I don’t think many people know about this feature

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

          But you can do that without involving ‘su’.

          • slothrop@lemmy.ca
            link
            fedilink
            English
            arrow-up
            6
            ·
            edit-2
            2 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
            ·
            2 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
              7
              ·
              2 hours ago

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

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

  • Kristell@herbicide.fallcounty.omg.lol
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    1 hour ago

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

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

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

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

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

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

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

      makepkg won’t even run as root iirc

  • prettybunnys@piefed.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    51 minutes ago

    What if I told you I sudo as root

  • commie@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    12
    ·
    3 hours ago

    sudo bash

    • wiccan2@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      2 hours ago

      sudo -i

      • commie@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        2
        ·
        2 hours ago

        ooo what’s that one do?

        • Hawke@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          2 hours ago

          Starts an interactive session as root (or another user when combined with -u)

          • Oisteink@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            2 hours ago

            It provides a login shell - like

            su -
            

            So you get the full environment from that user

            • Hawke@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              2 hours ago

              …Yes, I know.

        • mumblerfish@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          2 hours ago

          Gives you a shell where you basically are sudo for every command.

        • rem26_art@fedia.io
          link
          fedilink
          arrow-up
          1
          ·
          2 hours ago

          sudo -i starts a login shell as the specified user. Login shell means it’ll read that user’s bashrc/zshrc/whatever other login files and apply those. If no user is specified, then it’ll login as root, so you get a root shell

  • Ricky Rigatoni@retrolemmy.com
    link
    fedilink
    arrow-up
    5
    ·
    2 hours ago

    sudon’t tell me what to do

  • Diplomjodler@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    2 hours ago

    Pfft. Real men always log in as root.

  • ieatpwns@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    2 hours ago

    If you’re using sudo for Rm -r / You’re doing it wrong

  • Endymion_Mallorn@kbin.melroy.org
    link
    fedilink
    arrow-up
    1
    ·
    1 hour ago

    Right. Just put sudo su in your terminal on boot, and you’re set.

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.74K users / day
  • 3.75K users / week
  • 7.96K users / month
  • 16.7K users / 6 months
  • 1 local subscriber
  • 28.9K subscribers
  • 1.45K Posts
  • 47.9K Comments
  • Modlog
  • mods:
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.8
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org