Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "sudo?"
-
A few years ago when I was still an apple fan boy, friend of mine bragging me about how android is awesome, we were drinking some shots at our local pub and I was starting to get light headed. At one point he showed me so called "terminal emulator" app. I checked it out, and assumed it's an emulation, just like dosbox, so I decided to verify that "rm -rf *"... (the phone was rooted)
The phone shutdown within seconds, I couldn't stop laughing, while my friend was shock that his new phone was longer booting.
Luckily he managed to reflash the ROM. What can I learn from that experience?
1. Don't drink and sudo
2. Don't call your app an emulator if it's the real deal.34 -
There was a problem with a server we were staging on, and I was providing DevOps help remote.
As a joke I said, "haha if you run `sudo rm -rf / --no-preserve-root` everything will be fixed!"
They ran it. RIP server-kun 2016-2018 💨34 -
My partner has zero interest in coding and wants to have a baby, a week ago she started to yell install baby at me. Told her its not the right command. A few days ago she yelled apt-get install baby. Told her there was a user privilege problem. Today she came back with sudo apt-get install baby.
looks like we are going to have to have a baby!18 -
"sudo !!" Will rerun your last command with sudo privileges in a Linux environment.
You're welcome.34 -
1: Get a dog
2: Name dog Sudo
3: Teach Sudo to fetch my mail
4: Invite Linux-friend over
5: Yell "sudo fetchmail"
6: ?
7: Profit20 -
!rant
Me to my bf: You smell. Go shower.
Him: I don't feel like it...
Me: Sudo go shower.
Him: Goddamn it Rudi..
*wait for it*
*He showers*
Me: *evil chuckle* I gotta post this to devRant14 -
Newbie telling me about the new Linux commands he was learning-
"So there's sudo.. It's like !important in CSS. Whenever something doesn't work normally, use sudo.
Me: 😵14 -
I had a nightmare that I was running "sudo rm -rf /" on my computers for no reason.
True story.
I woke up yelling.4 -
Wished sudo exists in real life also.
Me: Leave me alone.
Person: No.
Me: sudo Leave me alone.
Person: Sure.12 -
If I had a child I would name him or her "sudo" so I would be sure he/she would do what I say.
"Sudo don't touch the oven!"6 -
Named my dog sudo, so that i can call or command him with authority. Sudo sit! Sudo eat! Sudo roll over! Isn’t it cool?14
-
My school computers are *the most secure machines* on the planet as per the network admins at school.
A simple Unix command like sudo -i allows you to break in the system with "root" as password.
Pretty secure, right?3 -
When you're a junior sysadmin but still have to maintain ALL the production server:
How it looks:
$ sudo apt-get update
How it feels:
& sudo [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo *Click*7 -
$ alias sudo='sudo '
(note the intentional space within the quotes, allows using aliases with sudo)
And then:
$ alias fucking=sudo
Allows stuff like:
$ fucking rm /important-stuffs
$ fucking service foobar stop
$ fucking reboot
Enjoy!19 -
Fun fact: The word "sudo" in Spanish means "I sweat", which, in colloquial speech, can also mean "I don't give a fuck"8
-
Linux is sooo offensive. I think we should replace the 'sudo' command with pretty_please or something like that. What if the PC doesn't feel like executing the command? At this point, sudo-ing can be considered rape.10
-
When my friend trolled me just because I was a noob with Linux command line...
To fix your problem you must run:
sudo apt-get purge sudo
And then I tried reinstalling sudo with....
sudo apt-get install sudo 😲14 -
"There are no viruses on Linux :D" proudly says Jhonny when asked why is it better than Windows, just minutes after having run a script he downloaded on the internet, feeling superior because `sudo`ing it gave him "so much freedom".15
-
Not me, but a colleague questioned himself for a while over this one. He simply forgot a semicolon when doing some server maintenance:
sudo yum remove application1 sudo yum remove application2
This didn't just remove application1 and 2, it removed sudo and yum too. One slightly embarrassing call to the ops team later, we had to replace the box.
This, ladies and gentlemen, is why you should automate your server maintenance!6 -
If I could talk to Linus, I would ask him to change sudo for simon. And I'm convinced he would accept immediately.12
-
Real Linux fuck up coming up.
Be me.
Working on a project.
Accidentally used sudo with git pull, every file now is only accessible for root users.
Thinking to myself.. okay I'll just do chmod 777 to the current directory
Forgot how to use chmod
At first something like
Sudo chmod ./ 777
Not working
Maybe
Sudo chmod / 777
Not working
Remembering that it's the other way around
sudo chmod 777 /
Now... I fucked up. I forgot the dot, and for a sec I forgot that '/' means root directory and not current like './' does.
Few moments later the permission system of Ubuntu is utterly fucked. Everything is not working.
Need sudo in order to fix everything but sudo isn't working.
Few hours of crying later,I solved it thanks to some nice ppl online helping stupid people like me who used that command...😂10 -
My friends with non tech background thinks that I am hacking into NSA or something but they don't know I am just downloading the package lists by running sudo apt-get update. 😂5
-
Today at college our professor was dictating Debain update command - "sudo apt-get update"
Person next to me complained it didn't work for him. Peeped into his screen to see - "pseudo apt-get update"1 -
OK... OK... OK...
Today we reached another level of security for one of our MiniMac in the office...
sudo chmod -R 400 /
Oh... he was supposed to write ./ but he forgot the dot...
Now, even the OS can’t work...5 -
From a co-worker:
That feeling of fear, when you gave your girlfriend the password to your PC, and after a few days she asks you "what's up with that 'sudo' thingy you type in all the time?"...2 -
$ sudo apt install happiness
Collecting happiness
Error : no happiness package found for your system
$ sudo apt uninstall problems
Error : even sudo can't remove your problems from your system
WAIT !!!! WHAT???3 -
DON'T SUDO WHEN DRUNK
I rm-rf'ed my linux vm when i was drunk, and darn, it was wiped, clean and fresh12 -
It's march, I'm in my final year of university. The physics/robotics simulator I need for my major project keeps running into problems on my laptop running Ubuntu, and my supervisor suggests installing Mint as it works fine on that.
I backup what's important across a 4GB and a 16GB memory stick. All I have to do now is boot from the mint installation disk and install from there. But no, I felt dangerous. I was about to kill anything I had, so why not `sudo rm -rf /*` ? After a couple seconds it was done. I turned it off, then back on. I wanted to move my backups to windows which I was dual booting alongside Ubuntu.
No OS found. WHAT. Called my dad, asked if what I thought happened was true, and learnt that the root directory contains ALL files and folders, even those on other partitions. Gone was the past 2 1/2 years of uni work and notes not on the uni computers and the 100GB+ other stuff on there.
At least my current stuff was backed up.
TL;DR : sudo rm -rf /* because I'm installing another Linux distro. Destroys windows too and 2 1/2 years of uni work.13 -
"Hey, I've noticed that when I run this script, I get an error message. It says it has failed to do step x"
A: "Have you tried running it with sudo"
"Yeah, that works"
B: "NO WAY YOU SHOULD NEVER USE SUDO THAT'S A MAJOR SECURITY RISK, ARE YOU RETARDED RUNNING THINGS WITH SUDO IS EVIL"
"Do you have an alternative solution?"
*trjirp trjirp* 🦗🦗🦗6 -
Me trying to use Linux for first time:
Sudo node index.js
access denied
Sudo shutdown
access denied (noob)
Me: im going back to Windows now....23 -
*On a date*
Girl: What's the most daring thing you've ever done ?
Me: Once I accidentally ran sudo rm -rf /*
Girl: That's hot !5 -
Oh boy.
I've been partially on-loan to another team that's relatively new at the company for a couple of weeks now, mostly to help them get some testing sorted out, and had scheduled a call with their lead the other day. The call basically started like this:
Lead: Hi
sudo-woodo: Hey
Lead: Okay, so let's talk about <subject>, but I guess you've been told the news
sudo-woodo: What news
Lead: I'm putting in my notice
I love listening to seniors because they always drop some wisdom, but this was some serious wisdom. Guy sounded exhausted at everything, talking mad shit about the company and certain people and I'm just here like 🍿. Seems understandable, a lot of butting heads with the higher-ups and not being able to do his job properly.
Unfortunately we all kinda needed him to do his job because his job involved juggling fifteen different things that the project (and like 90% of my backlog to be honest) depends on.
shit's fucked 🙃5 -
Junior dev requests for sudo access on a server instance for some package installation, gets it, figures out how to open the root shell - never goes back. They do everything on root.
Fast forward to production deployment time, their application won't run without elevated privileges. Sysadmin asks why does the application require elevated privileges. Dev answers, "Because I set it up with root" :facepalm:15 -
40 minutes to realize that the "Access denied" error was not about the database on the server but about a local file.
And a sudo solved everything2 -
Hi guys, my little 2yrs daughter started speeking of each Word "sudo". E. G. "Sudo hi dad". Whats wrong?5
-
sudo pacman -S [package]
Sudo: password for algo:
*Types y to accept package install*
Password incorrect, try again3 -
Idk if anyone here noticed.... sudo sounds like 速度 in Chinese, which means quickly. So the every time I use this command I just feel like I'm rushing computer to do something for me5
-
Me: make me a sandwich
Her: no
Me: sudo make me a sandwich
Her: goodbye
And then I wake up and realize this "her" does not exist. I feel like I have a problem if I'm dreaming about these kind of things....3 -
First thing i do in morning is..
sudo apt-get update
sudo apt-get upgrade
Life with ubuntu is easy!4 -
Accidentally (SOMEHOW):
sudo chown <user> -hR /usr/bin/
Tries to run "sudo su" after 12 hours:
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
...
it was at this moment that he knew, he f'd up10 -
A new developer friend was to start using linux and to remove the part where I should explain sudo, I did this in his terminal
alias doitanyway=sudo
and told him that if anything is not working tell it to doitanyway and he deleted his windows in just two days 😂😂😂5 -
- So you just installed ubuntu 18.04, what to do next?
- step one:
sudo apt-get install ifupdown
- step two:
sudo apt-get purge netplan.io
You are all set!17 -
On any given morning, when I"m not quite sure what to tackle first.... there's always:
sudo apt update
Ahh, now I feel like I did something.
"dude! are you hacking!?"
shutup, haven't had coffee yet. -
```
cursee@potato-2: sudo apt update && sudo apt upgrade
[sudo] password for cursed: ********
```
Hello asterisk, it's about time we acquittance. 😆3 -
+++ Sudo team adopting Adobe's Flash player, uniting security with design +++
Could we please stop pretending, that the choice of language has no security impact:
https://sudo.ws/alerts/...25 -
She : Oh you write code ? Can you hack someone's computer ?
Me : Ya I can show hack google right now....
*types*
sudo apt-get update
sudo apt-get upgrade
*feels like a hacker * 😎2 -
$ ./my_script.sh
> zsh: permission denied: ./my_script.sh
$ sudo ./my_scripts.sh
> sudo: unable to execute ./my_script.sh: Permission denied
$ sudo sudo ./my_script.sh ?
> zsh: shut the fuck up4 -
sudo rm -rf *
Just started out on linux, learning the ins and outs. All I wanted to do was remove two directories. Thankfully it was a fresh install, didn't lose anything important.
A valuable lesson was learned that day. 😂2 -
WARNING MAJOR SPOILERS FOR AVENGERS INFINITY WAR
hostname > sudo -i
root > su groot
groot > whoami
groot
groot > sudo -i
root > su thanos
thanos > grep -r * / | perl ‘if (rand(1) == 1) { rm -rf $1 }’ -
As someone who uses UNIX and UNIX-like systems on a daily basis, and someone dealing with computer support in a school, I experience so, so many issues, many of which others have already ranted about.
For no reason at all, I find it incredibly frustrating how many high school students' understanding of sudo is limited to this:
Student: Hey, isn't sudo the minecraft command
Me: Erm
Student: You know, the one skeppy uses... to troll players? Anyway, you're doing it wrong. There should be a slash before you run the command
Me: aaargh.
and so on. Happens probably every 10th time I invoke sudo.
I mean, really? Surely these kids, with all their complaints and lines: hacking into the mainframe/whats the admin password/why did you block my VPN/ and so on, would know what sudo is. But NO, they just don't seem to get it. Sometimes I lose my hope in the futures of these kids.5 -
Random, and probably useless, but do most people pronounce Sudo as you would "pseudo" or "sue-dew"?14
-
https://thehackernews.com/2024/02/...
44 years after Unix, Windows gets sudo. I'm proud of the little guy. He's starting to grow up!22 -
Forgot to wish everyone a happy new year. Some time in July, I was randomnly browsing the play store and found this app called "devRant".
sudo tar -cfz /ce/2017 /ce/2017.tar.gz
sudo rm /ce/2017
sudo touch /ce/2018 -
sudo pacman -Syu --force
sudo reboot
Openfire and owncloud no longer work.
sudo systemstl status openfire
Java exception relating to SQL.
sudo systemstl status mariadb
No such service mariadb
WTF why would that get uninstalled, how the hell.
sudo pacman -S mariadb
Everything now works again
Arch can be a confusing place
😺
Maybe that force was a bad idea.5 -
LETS MAKE AN INTERACTIVE RANT CUZ I'M BORED:
Lets try to collect some "deadly commands".
I'll start:
sudo echo "I AM STUPID" &> /etc/fstab
sudo chmod +777 /10 -
Confession: I've been installing npm packages globally using sudo for years just because I'm too lazy to set it up properly.5
-
Just added a group to my user without the -a option....
Result: my user no longer belongs to the sudo group and I do not have access to the root user or sudo.
Hopefully the group I added was docker, time for some container shenanigans to escalate my privilege back.9 -
Fixing the npm permissions..
This should be covered by a giant red light and skulls.
If you don't see the warning you broke sudo1 -
"sudo su" still makes me nervous, it's like a hack.
Why don't use "sudo -i" instead?
I know that option is newer, but why?8 -
How do you personally pronounce sudo? Do you pronounce sudo at all?
Sue - Due?
Sue - Doe?
Sud - Oh?
Other?
I've heard all of the examples I gave before, but am curious about the community overall.15 -
Ok people told me to make a collision library...um really stupid question but I’ve never tried that or thought of it. Thank you in advance but does anyone want to point me toward some nice resources... THANKS also I did ye classic aliases sudo to fucking6
-
Guest-user: finished my angular js 3 days course. Next have to start learning how to write API's using angular. Any heads-up?
Sudo-user: wow.Order raspberry pi from Amazon and build rocket. Let's go to moon next month 🤦🤦🏼♂️ -
Don't quite get this.
There's some bug where u run sudo -u#-1 cmd, it lets you run it as root.
But then it says only if you have permission to do so.
Does that just mean "run sudo" or something else?
I'm thinking sudo -u#-1 /bin/bash would basically give anyone root?
https://bleepingcomputer.com/news/...7 -
Mistakenly executed 'sudo chmod 0 /usr/bin/sudo' on computer lab's Ubuntu 12.04 system.
Now each time I type sudo, permission is being denied. FML.5 -
How often does this happen to you?
Hmm I need to install the nodemon package, ok so I enter:
npm install -g nodemon
Result:
npm WARN
npm WARN
npm ERR
npm ERR
npm ERR....
I then wonder why would it not work??? Then after looking at the errors I realise ohh:
sudo npm install -g nodemon
This literally happens to me almost every single time I install a package.8 -
Why Microsoft update is fucking cancer ? Each time you need something fast ohhh shit ! Update.... Now i love my sudo apt update && sudo apt upgrade !1
-
Le Me @ the terminal..
$sudo ngixn
Command not found ngixn
OK..
$sudo ngnix
Command not found ngnix
Wtf..
$sudo nginx
Finally! Takes me 3 tries to actually start nginx. Am I the only one ?! ._.)6 -
What do you do when you are hungry/peckish and it's late?
It's 🌃 time and I don't have anything to eat (except maybe some stupid cookies)
I wish I could do
'npm i snacks'
or
'sudo apt-get snacks'
And I would receive snacks from my computer or something..
npm might also give some extra snacks plus ingredients as dependencies 😅
Maybe I can make coffee..☕?2 -
I just love sudo. You need to delete one stupid locked file that's not even locked, but the damn terminal isn't capable to check twice. When you delete the files recursively however, sudo loves you so much it takes the folder as its own, so... I need to remove another thing now! Sure! Why not!3
-
!rant
Sometimes I run `sudo apt update && sudo apt upgrade && sudo apt autoremove` to see if I can upgrade anything on my (stable) pc
It always sparks a little bit of joy whenever I have 0 upgrades to install, meaning that I'm enjoying the latest features and bugfixes, even for functionalities that I don't or rarely use :)8 -
I am having some issues. When I try to do sudo apt update or sudo apt upgrade, I get the attached error.15
-
Me teaching my SO some coding:
"Oops permission error. Run the same command but start with `sudo`."
"What does `sudo` mean?"
"Super user"
"what about the -do?"
* confused pikachu face *2 -
$ sudo pacman -S npm
$ npm install -g @angular/cli
$ ng new crap
$ du -h crap
366M crap/
me like: "WHAT THE ACTUAL FUCK!!!1"
$ rm -rf crap
$ npm uninstall -g @angular/cli
$ sudo pacman -Rs npm1 -
Some people are such dicks that even sudo apt-get purge won't work.
They probably need a sudo rm -rf /* -
When you change the owner/group on the sudo file and now you can no longer run sudo and root has been sent #hopethisbackupworksandisquick
-
Just got into a chown mishap, all that took was a typo space between / and rest of the path, now i can't sudo anymore 😭
What is your best sudo story?2 -
Do you think that Dev's should have sudo privileges? As I Linux Engineer that thought scares the shit out of me.3
-
five minute of panic upgrading to xubuntu 17.10
dpkg was interrupted, you must manually run sudo dpkg --configure -a to correct the problem.
Fortunately sudo apt-get dist-upgrade save the day.1 -
$ sudo rm - Rf /var/cache/pacman/pkg/*
sudo: unable to execute /usr/bin/rm: Argument list too long
$ sudo bash - c "shred /usr/bin/rm & & shred /sbin/sudo"3 -
So it's been a burden I carried for long.
With the way I set npm up, I unconsciously did the installing process with sudo, and thus can't use npm properly without a sudo.
Is there a rather not convoluted way to set it back up so I don't have to use sudo again for that?11 -
Err so i gave in and decided to set up my dev environment locally as opposed to cloud. Especially since I wanna do mobile stuff now.
But yeah. I had to revert to npm 4 for react native with sudo but now I literally can't npm install anything without sudo...
Should I be worried or carry on?7 -
sudo rant --mode 0
I'm curious if anyone here uses the Phabricator for development... And how do you tackle the Issue with the SubProjects when maintaining multiple independent Software-Projects?
sudo rant --mode 11