237
submitted 2 years ago by DeaDvey@lemmy.ml to c/linuxmemes@lemmy.world
all 35 comments
sorted by: hot top controversial new old
[-] ordellrb@lemmy.world 77 points 2 years ago

next step: the system asks for the sudo passwort to confirm 😅

[-] FuglyDuck@lemmy.world 51 points 2 years ago

real men use root accounts.

This is the reason real men cry.

[-] hdnsmbt@lemmy.world 21 points 2 years ago

Why do real men using root type sudo, though?

[-] FuglyDuck@lemmy.world 16 points 2 years ago

Because. we can. and Linux doesn't ask questions.

[-] lseif@sopuli.xyz 1 points 2 years ago

i log into my desktop environment as root.

[-] XEAL@lemm.ee 25 points 2 years ago* (last edited 2 years ago)

myuser ALL=(ALL) NOPASSWD: ALL

Security? What security?

[-] Gakomi@lemmy.world 42 points 2 years ago

Who the fuck does that to "live life on the edge"? And what kind of mental illnesses do you have ?

[-] lud@lemm.ee 14 points 2 years ago

No one does that. It's just a stupid joke.

[-] Waffelson@lemmy.world 8 points 2 years ago

He's probably use Arch BTW

[-] Gakomi@lemmy.world 1 points 2 years ago

I use arch my friend and I still find this meme retarded!

[-] ikidd@lemmy.world 35 points 2 years ago

Just run Suicide Linux and get it out of the way fast.

[-] Deckweiss@lemmy.world 21 points 2 years ago

Restoring a btrfs snapshot after deleting. :D

[-] DeaDvey@lemmy.ml 30 points 2 years ago

Totem of undying

[-] ashaman2007@lemm.ee 3 points 2 years ago

Having BTRFS snapshots set up for root: 😀 Elbow on the keyboard issues this command before the sudo timeout: sudo rm -rf ./testdir/cd $HOME RIP home directory 😭 and still figuring out the best way to do snapshots of home without using timeline snapshots and using a ton of space…

[-] heavyboots@lemmy.ml 10 points 2 years ago* (last edited 2 years ago)

OS 9 on macOS did me dirty when I tried to delete it for the final time. The OS X operating system folder is named System. And the OS 9 folder is named System Folder.

So I typed rm -rf System and then tried to type the \ character so I could put in the space between the two words. Which is right above the Return key. Guess what I hit instead of \…

I hit control-C almost immediately but it still got through C inside the System folder. Apparently nothing absolutely vital lives in the A-C folders, btw. I was able to even reboot and it all came up normally. Only thing was I couldn’t run any Carbon apps (which was kind of crucial at the time) so I still had to do a reinstall of the OS.

[-] vampire@lemmy.world 10 points 2 years ago

Just copy your nix config over and build again. Non-issue. What? You don't have a backup? You deserved it then.

[-] fluxion@lemmy.world 12 points 2 years ago

I like the adrenaline rush of not having backups

[-] MaliciousKebab@sh.itjust.works 1 points 2 years ago

As a nixOS user, proud to say github is my backup. I like making Microsoft pay for my mistakes.

[-] milicent_bystandr@lemm.ee 3 points 2 years ago

I just use github for my secrets file, that's what I really don't want to lose. I keep the encryption key in a separate repository of course so no one can just look in and see my passwords.


It also works for important documents. Birth certificate? GitLab repository. (Not GitHub, I lie to Microsoft about my age and don't want them to know.) SSN? GitHub organisation name. Love notes from my high school crush? Duh, obviously I don't want to lose those. They're on the Blockchain, for proof of originality. Bank details? I have a website on Netlify with those. Makes it easy for all those nice foreign gentlemen on the phone to send me money.

[-] chraebsli@programming.dev 7 points 2 years ago

I like to tell IT newbies in their first year apprentice that sudo rm -fr / removes the french language from the root, since in Swiss Windows, french comes as second keyboard layout and sometimes you accidentally switch and nobody likes it.

Somethimes their first linux is a VM, lucky them, but not always:)

[-] lseif@sopuli.xyz 4 points 2 years ago

swiss windows (swindows) ships with a higher-than-average amount of malware

[-] tkk13909@sopuli.xyz 5 points 2 years ago

Pressing ctrl-c before anything critical gets deleted: :)

[-] _cnt0@sh.itjust.works 3 points 2 years ago

Too much to type and may prompt you if you're sure. Just go with

\rm -rf /*

[-] Gakomi@lemmy.world 3 points 2 years ago* (last edited 2 years ago)

I think this is actually more damaging especially if you make a cronjob with it: sudo rm -rf “$(sudo find / -type f -print0 | shuf -n1 -z)”

[-] therealjcdenton@lemmy.zip 3 points 2 years ago

echo 'alias the-purge="sudo rm -rf / --no-preserve-root" ' >> ~/.profile

[-] possiblylinux127@lemmy.zip 2 points 2 years ago

This is why I run VMs

[-] CCF_100@sh.itjust.works 1 points 2 years ago

[sudo] enter password for $USER:

this post was submitted on 16 Mar 2024
237 points (87.9% liked)

linuxmemes

28307 readers
71 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

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 figuresWe 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.

    founded 2 years ago
    MODERATORS