819
u/Cheliax May 16 '22
I deleted my user on the very first day
413
u/AciD1BuRN May 16 '22
Bro how do u even come to a command that does this on the 1st day
533
u/Cheliax May 16 '22
Long story short: the laptop booted in a weird mode where it didn't recognize the existing user and asked to create a new one. I did and afterwards i realized the old user was there. Anyway, i went to delete the new user but accidentally deleted the old one.
I needed the old one cause it had special company stuff. Anyway, as it was my first day, they just factory reset and set it up again. 10 minutes after it was as if nothing had happened.
165
u/AfterbirthNachos May 17 '22
That sounds like a privilege escalation vulnerability đ
→ More replies (1)24
71
u/zebediah49 May 16 '22
I've done this intentionally a few times --
build a normal linux box
connect it up to an external auth provider
remove the now-conflicting local user that was used for setup
Normally there should be a "put a break-glass login onto root" first, but if you miss doing that...
→ More replies (2)38
6
u/mcstafford May 17 '22
It wasn't prod, but I locked myself out of my home dir the day I first touched chmod.
→ More replies (1)6
2.5k
u/Metasenodvor May 16 '22
heh happened to me as well, on the 3rd day of work.
people were chill and everyone was laughing, fun times
3
u/___CYFR0N___ May 16 '22
One command on Ubuntu fixes Ubuntu after that problem. Apt get install ubuntu-gui not sure. If I'm right. It's for oc verting Ubuntu server to desktop.
→ More replies (34)3
8.0k
May 16 '22 edited May 16 '22
My first job in the industry was working as a database developer. First week I deleted ~50k records from a prod database. Walked up to the senior dev and didn't even have to say a word. His first question, "how many rows?". Still makes me lol to this day.
5.1k
u/DirectControlAssumed May 16 '22
Walked up to the senior dev and didn't even have to say a word. His first question, "how many rows?".
I'm pretty sure he had a bet with someone on the number.
2.1k
u/Gankus_Aurelius May 16 '22
They bet often on the new guy
→ More replies (103)15
u/AttackOfTheThumbs May 16 '22
We bet on who will quit once they learn what erp dev is really like.
→ More replies (2)→ More replies (4)187
u/chownrootroot May 16 '22
Senior DBA: Okay 50,000 is the number, who had 50,000?
→ More replies (3)247
u/Ayesuku May 16 '22
I did the same thing once a few months in to my first IT job. Deleted all rows of an enormous table by accident.
It was a small company with a very small IT dept--three of us at that time with development skills. I was the only one there that day. No one was answering their cells either.
Managed to find our nightly backups and figure out how to restore from them all on my own as a total newbie with almost no DB admin experience. Was pretty proud of that one.
Someone finally texted me back like an hour later in a panic like "I'm sorry I didn't answer! Let me help you!" And I was just like, "nah I fixed it man, sorry to freak you out lol"
104
u/krohmium May 16 '22
Good job đ As a rule of thumb, backup then fuck around.
→ More replies (4)49
528
u/ell0bo May 16 '22
First real job, followed a coop and internship, I cost the company like 10 million. I forgot a ; in a perl script, the code got merged, and a month later we realized a step in the system wasn't running, and people were getting things for free.
I've since been the Sr dev on the otherside. Only time I got upset was when a Sr dev used my credentials to log directly into a db and drop a table. He dropped the wrong table.
258
May 16 '22
Me, sitting in my first sql dev job, having a panic attack
206
u/ell0bo May 16 '22
If a Sr dev doesn't have a story about how they fucked up, they never really tried anything.
Maybe the guardrails are better these days, better automated testing and what not, but screwing up is part of learning.
Think of it this way, if you were put in a position where you could fuck up major, someone above you screwed up putting you in that position.
You're a db dev, and you dropped a table? Someone probably shouldn't have given you drop rights, lol.
→ More replies (2)→ More replies (1)55
u/twilightmoons May 16 '22
You're not a real internet engineer until you've taken down a prod website.
Wait until it's a billion-dollar website. Then it stings.
→ More replies (4)104
u/akazabam May 16 '22
Do what I do and blame the code reviewer.
141
u/zebediah49 May 16 '22
number one reason to have code reviews (programming) or change control boards (ops) is so that it's not "your fault", it's "everyone's fault".
→ More replies (2)46
u/Slow-Professor-2568 May 16 '22
Sharing your named credentials was your mistake, ngl. I'm sure it saved time in them requesting access or whatever, but it's never worth it.
→ More replies (1)14
u/ell0bo May 16 '22
Yes, there's no excuse these days, 15 years ago, if you were sick and the system went down, you couldn't always remote in.
→ More replies (1)→ More replies (5)37
u/jaerie May 16 '22
I forgot a ; in a perl script, the code got merged, and a month later we realized a step in the system wasnât running
I'm sure you know this by now, but this is essential knowledge for juniors. This isn't your fault, the fault is with the process. It should have been better and easily caught your error. Everyone makes typos daily and every few days you overlook one. It's up to the pipeline/code review/whatever else to make sure that doesn't bring down the world.
→ More replies (3)365
May 16 '22
I bricked 2 rows of QA machines :(
133
May 16 '22
unplugged the wrong load balancer blade once. that was fun
67
→ More replies (1)58
u/zebediah49 May 16 '22
The best part about N+1 hardware is when your +1 fails, but everything is fine.
Until you unplug the wrong one when doing the replacement.
→ More replies (5)→ More replies (1)118
u/AreganeClark May 16 '22
I gotta hear this story
416
May 16 '22
Less interesting than it could be I'm afraid.
We were running processes overnight on QA machines, as they were good spec and unused hardware sitting idle overnight. Over time, the amount of junk we'd been generating was enough we got complaints that the drives were full and this was impeding QA.
"Hey! I'm a bright and motivated junior! I can build a quick process to automatically clean up all those temp files when the drives are getting filled"
Turns out there's a difference between recursively deleting all files of a certain type from the C:/Users/ folder...And deleting the C:/Users/ folder...
Turns out Windows doesn't like it when you do that...
Turns out IT also don't like it when you do that, and they have to sit re-installing Windows on 20 machines while QA sit waiting to start their day...
→ More replies (31)197
u/Leg4122 May 16 '22
Wtf first week and already working on prod?
156
u/Dr_Jre May 16 '22
Same for me at my place. I always wrap my SQL in a TRAN so I haven't made any mistakes yet, definitely seen that "effected 34239890 rows" before though
59
u/Sharkytrs May 16 '22
same, but once I made a mistake where I didn't then commit or rollback, and of course until you close the tran you have exclusive access to that DB...........
→ More replies (5)20
u/BobRossAnalFissure May 16 '22
TRAN is great until you accidentally leave one open and create a blocking chain a mile long đ
61
May 16 '22
It was 20 years ago with a new company. We didn't have different environments. We had local and prod haha. It was the wild west.
→ More replies (2)54
u/redsterXVI May 16 '22
tell the new guy/gal the integration/staging system is the prod system
see them mess up, start sweating and come over anxiously
have a good laugh
"fix prod" calmly like the senior you are
laugh some more
tell him/her
keep laughing for a good couple of months if not years
→ More replies (1)59
May 16 '22
If your junior developers can nuke prod data, your senior devs fucked up.
→ More replies (3)16
16
u/Sciirof May 16 '22
One of my mates that works as a database developer, his first job included deleting rows related to random customer accounts that didnât pay extra for backing up data so they would pay for it. I believe that company went through a lawsuit because of it
4
14
11
u/Djnick01 May 16 '22
When I was a DBA intern I accidentally dropped a database while going through DBâs to drop a user. Accidentally forgot to go into the security tab and instead straight up right clicked and deleted the database.
13
u/PhaeOne May 16 '22
When i started as a new Oracle DBA many moons ago, my linux/unix skills were very very poor. I wanted to cleanup some disk space on the production server and searched the whole system for *.log en deleted them.. yeah. Database needs the redolog files apparently. Luckily easy to fix, but still. Clenched butt cheeks when i had to go inform my senior. Also, never named my redolog files .log after that.
7
2
→ More replies (54)2
1.4k
u/psdao1102 May 16 '22
I was an intern for the IT systems of a k-12 school district. Our job was to clean all the computers and reinstall a fresh installation of windows. One set of computers in a mini lab, had its ethernet disconnected. When i was done cleaning i thought i plugged it in. I didn't i plugged one ethernet cable back into the wall on another port. I had caused a loop. Normally this is fine, but on that schools old ass switches they were trying to discover all the devices on the network, and that loop made the switches start sending more and more pings, and work harder and harder to discover the whole network until i had consumed the entire capacity of the switch.
I effectively killed the internet/intranet for the whole school district. Took them all day to figure out what happened.
446
u/zebediah49 May 16 '22
The most horrifying part of this is that it means your entire district was on one layer 2 fabric. Even without STP, that shouldn't have destroyed more than one vlan on one set of switches. (I guess unless the core routers were trash and got wrecked by the packet storm on the uplink to that broadcast domain.
258
u/PunkPen May 16 '22
I work in ed-tech. Not on the school side but the vendor side. Some districts are excellent, big or small, they have their ducks in a row. Other districts I'm surprised they know to plug in an ethernet cable.
146
u/IShootJack May 16 '22
I managed to not get suspended from school after I discovered that chrome had admin privileges; and brought in a file that would cause the computers to death loop while extending the disc tray (I thought I was cool) I loaded it up on like 30 systems using another students log in but they checked cameras and got me
Looking back, holy shit, I kinda suck
ANYWAYS they didnât suspend me, on condition I help the schools IT patch it. Those people were literally worse than my technologically illiterate grandmother. Like, I showed them a BIOS menu and they thought I was a pro.
→ More replies (9)→ More replies (3)25
→ More replies (2)89
May 16 '22
34
u/NubzMk3 May 16 '22
Take a gander at Spanning Tree Protocol, which is what STP in the previous comment stands for.
This situation (redundant paths in networks) was unfortunately somewhat common back in the day, and a whole bunch of smart dudes worked STP into IEEE standards to provide some form of mitigation of the problem. Pretty neat stuff.
202
u/Panki27 May 16 '22
This is why you configure loopback detection and RSTP, kids.
103
u/MuhFuhqer May 16 '22
Itâs usually configured by default. To turn it off is stupid.
12
u/LeatherDude May 16 '22
"Just disable spanning tree" was a mantra in the 2005-2010 era, and you can tell who learned Cisco shit during that time.
→ More replies (2)4
15
7
7
6
u/DerfBugler May 16 '22
Wasn't my issue (thankfully) but an ER doc in the hospital system did a similar thing when rearranging his office; used two ports for one VoIP phone, one in and one out.
Crippled the entire network and all that lifesaving data from and to every system for 2 hours while the offender was tracked down.
Network has since been fixed to not allow this to happen since. Never underestimate stupidity.
5
u/Hobo124 May 16 '22
Fun fact: Staples in-house networks have this same problem. Don't ask how I know.
4
u/d_Inside May 16 '22
Broadcast storm, nice.
I brought down the entire office LAN by touching the spanning tree configuration on my first days lol.
2
u/stopbeingyou2 May 16 '22
Had a similar thing happen. Didn't think to check for a loop at first since everything was working for the most part. Just had a few rooms whos wireless was wonky.
Have our stuff set up better so did not take down everything. Just messed up a few minor things on the vlan with the loop.
→ More replies (11)2
u/ykahveci May 17 '22
A stundent once did this in the computer room of my old school, he took down the entire school network that day, even the phones in the school office didn't work (parents couldn't call in, etc.). He got himself into big trouble there.
560
u/CC-5576-03 May 16 '22
You have transcended to the realm of the immortal cli warriors
99
May 16 '22
A demon, terrible in its breadth, consumed the land of U-Ser. The memories of those that had gone on before were consumed and the Great Stone of Power was drained by its terrible blight.
But alas, a lone warrior, new to this kingdom and lowly of rank with one utterance issued forth magic that slew the beast and the land was free it its taint.
There was confusion for a time for the old tongues were forgotten by some. Men and women (both great and small) had to seek out the wisdom of the elders to learn again but in time the land was restored and itâs power over itâs neighboring kingdoms grew.
→ More replies (1)
1.0k
u/Frutol May 16 '22
Seniors don't use GUI, they didn't even notice
262
u/AwGe3zeRick May 16 '22
Iâm on Linux servers every single day. I havenât seen a Linux GUI in probably 10 years. Im surprised at how far I had to scroll to see this.
65
u/mrhhug May 16 '22
I think this image is better though because the interns call putty their GUI. Poor feller thought he deleted prod, but he doesn't even know how to access prod. Lol.
14
8
7
u/Nestramutat- May 16 '22
I also spend all day SSHâd into Linux servers, but I do it from GNOME
→ More replies (1)→ More replies (15)5
171
111
u/vehementi May 16 '22
I've actually never learned any of the linux GUIs and in the super rare time I have to actually use one I look like a total idiot
→ More replies (5)6
u/pxlnght May 16 '22
I'm a Linux Engineer. I've mounted samba shares thru the command line thousands of times, super easy thing to do... Took me like 10-15 minutes trying to do it in the Fedora 36 GUI before I gave up and did it via the command line lol
→ More replies (5)7
u/redcalcium May 16 '22
Who need GUI? You can even watch YouTube in CLI these days.
→ More replies (3)
536
u/serialcatkiller_eatr May 16 '22
Still better than delete grub imo
301
u/tyler1128 May 16 '22
Deleting grub is fixable in an hour, deleting actual data without a backup? Not so much
192
u/NeedToPostSomething May 16 '22
This is never the new guys fault. No backups gets the manager canned.
75
→ More replies (6)4
88
→ More replies (3)37
164
u/Prestigious_Boat_386 May 16 '22
onomoment
32
u/TowBotTalker May 16 '22
...and if you manage to damage hardware in the process, you have a onomomento.
6
u/shotgun_ninja May 16 '22
I had an onomomento from my high school robotics team... the IR receiver chip we somehow burned out on our robot. I had it made into a necklace.
→ More replies (3)
138
May 16 '22
Why devops would fix your Linux GUI?
92
u/Hellghost May 16 '22
That what bugs me with tech companies, devs and QA don't know the difference between DevOps and Corporate IT... I lost count of how many people DM me on slack asking to help them with their workstations, not my job!
→ More replies (3)18
u/zebediah49 May 16 '22
Because my linux gui is just a full-screen copy of Firefox that displays static HTML pages; the URL is updated. to reflect current system status.
(This isn't even a joke, I support some software that works like that)
→ More replies (2)9
32
27
6
u/mrofo May 16 '22
Because weâre the sink for every question and problem that doesnât immediately have an answer for some reason. âGo ask DevOps, theyâll knowâ.
3
u/ricksebak May 16 '22
I usually think that they think of DevOps as IT support, but, like, advanced IT support. Like if they broke Chrome on their laptop, theyâd go to IT support. If they broke Docker on their laptop, they somehow think thatâs in the realm of DevOps.
Itâs definitely not the realm of DevOps, but I do know Docker really well and usually know how to fix it. So⊠shrug.
→ More replies (1)→ More replies (4)2
u/uttoutto May 17 '22
As a devops, I somehow want to slap everyone who thinks I'm their IT support gal. But the problem is the companies that use it as their new buzz word for everything IT. I was offered a job that included fixing printers and setting up office network on multiple occasions /facepalm
→ More replies (2)
125
u/FittersGuy May 16 '22
Awe man, my first programming job I spent like 4 months working on a project by myself. I had to move it around or something, but somehow ended up deleting all of my code completely.
I still remember how that felt, having to walk over to one of the senior devs with my head hanging low to tell him.
As it turns out our computers were regularly backed up, so we were able to retrieve most of it, but holy fuck that was a humbling experience.
→ More replies (2)40
90
215
u/del6022pi May 16 '22
Who needs a GUI anyways? I use arch btw
→ More replies (2)75
110
41
u/Tough_Patient May 16 '22
Average linux coder: Oh weird, I lost my background. <continues to code in emacs/vi like nothing happened>
4
u/Developemt May 17 '22
I live in the CLI, I use neovim all day and hate touching any other editor. GUI is actually restrictive on most of the things we try to automate. Your better off scripting things and saving to file and assign an alias or keyboard shortcut for it.
78
u/K-ey May 16 '22
Me on my way to the team leader to ask about the thing he explained 7 times already.
17
u/Dotaproffessional May 16 '22
Stack overflow score too low to post questions?
→ More replies (1)16
34
u/CplBoneSpurs May 16 '22
Hey guys! How about that weather, huh? By the way I fucking deleted alllll that shit. Alright, coffee anyone? See you guys later!
26
u/meed0k May 16 '22
Somebody I used to work with once did rm -rf / on a shared web server
46
May 16 '22
Long ago a colleague did this too. We wrote a script that would prompt him 2 times "are you really sure?", which he had to respond with "Yes" ( case sentitive ) - for 1 year he had to confirm, whenever he used rm.
13
u/meed0k May 16 '22
Bahaha
10
u/meed0k May 16 '22
Also had a customer came in with "MySQL issues" saw in the history
rm -rf /var/lib/mysqlxD→ More replies (1)2
May 17 '22
shit I just wrote that I did this in the comments... may I am the somebody.. I only type out full path names now :')
→ More replies (1)
73
17
u/queryMerry May 16 '22
New Linux user here, how often does this kinda thing happen?
23
u/SenatorBagels May 16 '22
As long as you're using a competent distro, basically never.
→ More replies (12)14
u/zeth0s May 16 '22 edited May 16 '22
Never unless you look for it. Install a newbie-friendly distro like fedora or mint and forget about all this
→ More replies (2)→ More replies (4)6
May 16 '22
Every now and then I do this deliberately, because of fucking NVidia drivers. It's easier to remove X server and desktop manager and install them fresh than to try to figure out where the problem is.
But, really, I only need GUI for the browser, and that's really only because I need to use Teams for daily meetings and such. I would've been totally fine without ever having to deal with the GUI otherwise. That's for work, of course. I have more uses on home computer for the GUI.
→ More replies (8)
45
May 16 '22
Let me guess. You tried to install Steam?
57
u/detektiv_Saucaki May 16 '22
whats with the installing steam joke? i feel like im missing out on something really good (i have steam installed btw)
→ More replies (1)108
May 16 '22
Linus Sebastian was doing a 30 day Linux challenge and managed to uninstall his desktop environment while installing steam in Pop!_OS.
But to be fair, that was because of an apt bug, which has since been fixed.
25
u/viimeinen May 16 '22
But to be even fairer, apt did warn him he was about to ruin his system and he typed, "yes, I know what I'm doing".
He didn't.
→ More replies (2)42
u/Worse_Username May 16 '22
His authority really fell in my eyes when i saw him trying to right click and save a GitHub page.
→ More replies (35)→ More replies (23)14
7
u/ricardortega00 May 16 '22
It took me to read the same joke from 3 different users to realize that you are all talking about Linus and his catastrophic failure using pop os.
43
u/Dmayak May 16 '22
I don't fully understand this joke, what DevOps has to do with this? DevOps are deployment and automation specialists, as far as I know. If you deleted GUI on the server you should contact system administrator, if you've deleted GUI on your own machine you should reinstall it yourself or yet again contact sysadmin.
22
u/4shtonButcher May 16 '22
DevOps is a mindset everyone in an organisation needs to embrace for it to work. If it's a dedicated team or role you are just doing plain old operations. Maybe with more modern tooling and hopefully closer to dev, but it's not DevOps.
Sad to see so many people even in this subreddit getting that wrong.
15
u/Rorasaurus_Prime May 16 '22 edited Nov 14 '25
march cake juggle fly political sharp pie work chubby market
This post was mass deleted and anonymized with Redact
29
May 16 '22
If he deleted the GUI on the server, he did everyone a favor. Never, ever, ever, ever, EVER run a desktop environment on a server.
→ More replies (2)11
10
u/natty-papi May 16 '22 edited May 16 '22
Devops is the ultimate irony because in most of corporate, rather than bringing the dev and ops teams closer it brought a third team that they'll call devops/devsecops.
Or they just renamed their ops team as devops because they want them to write some yaml and scripts.
Or worst case, they renamed their full stack developer as devops because they now have ops added to the stack.
5
u/BooBooMaGooBoo May 16 '22
There are a TON of companies where DevOps are the sysadmins, including mine. But at least we have everything containerized so this would take 5-10 seconds to fix. Although this wouldnât even happen in the first place because the only thing anyone can do on our servers is view logs.
4
u/noratat May 17 '22
Most of the people on this sub aren't programmers, or are at most freshman/sophmore college students.
OP probably has no idea what devops even is.
3
u/zeth0s May 16 '22
If they deleted a gui from a server, they actually did a good job! Why wasting resources and adding points of failure?
5
u/Ahhmyface May 16 '22
95% of programmer humor content is clearly created by people who have no business calling themselves programmers
→ More replies (1)2
10
8
May 16 '22
Was this on a server or a desktop/laptop? Because if it's on a server, there shouldn't be a GUI at all unless it's a web interface and if it's a desktop/laptop, that's not DevOps's job.
6
u/BurningPenguin May 16 '22
Me, after i get up in the morning, realizing that i didn't hear the automated alarm call on the phone. And not knowing, that the message "fire alarm" doesn't actually mean "fire alarm". Instead, it is a message from an entirely different part, that has nothing to do with the server itself. But is abused as a makeshift alarm system, to notify the admin that the power went out. And the message text is hardcoded.
Please someone save ^^^me^e^e
6
u/James20k May 16 '22
When I went to work for a tech company, it was my first real time using linux. I was getting frustrated at having to chmod everything, so I thought hey. I'll just chmod +rwx everything on the system!
As I discovered, many linux applications do not like this and will refuse to function, so I had to awkwardly ask the guy sitting next to me if he could send me a copy of all the permissions for everything, so I could unfuck my system
5
4
4
u/Meatslinger May 16 '22
Congrats, youâre about to learn how to live in the command line. Come for vim, stay because you donât know how to exit it.
4
4
3
3
3
u/Pashera May 16 '22 edited Jun 19 '25
steep middle resolute bells subsequent plough thought oil amusing butter
This post was mass deleted and anonymized with Redact
3
u/zeth0s May 16 '22
It is common also among experienced one, just the type of mistakes are different. We are humans. The team should put in place safe guards to allow people working without being afraid of destroy everything because of a mistake
3
3
u/Awesomeluc May 16 '22
It happens to everyone. I was working IT a few years ago and one of my coworkers had a 100MB switch which sucks. So I went to another building and grabbed him a Gigabit switch thinking Iâm helping. Turned out it was a managed switch and I killed his internet jack for a week until I could get networking to fix my mistake
3
3
u/bloopscooppoop May 16 '22
I dropped production during peak season, after we restored in proceeded to do exactly the same thing again, with exactly the same script that I never updated
3
3
u/SnooRabbits4992 May 16 '22
My first real job I was tasked with building a linux script to rename all these word docs and letters that the company had to a specific naming. The live data was on a shared drive on the linux server. So I copied the data and worked locally mv the files etc. However on one test I ran the script in the shared drive, renaming everything, and before I realised I proceeded to delete everything to restart the next test. Only I deleted all the live files. People were actually working on the files at the time and word etc errord. To make matters worse when they tried to restore the previous days backup it all failed along with other backups... was a painful week.
5
2
May 16 '22
"You didn't delete the GUI, don't worry." Sysadmin sets account back to run level 5.
→ More replies (1)
2
u/Cognizantauto95 May 16 '22
This is me. I somehow ended up bricking gdm3 on my work PC. It's still broken, I can't get it to work so I'm stuck using lightdm (I haven't noticed a difference).
Other than that, I did also brick my bootloader trying to move partitions on my disk. It is also still bricked. I am currently using the bootloader off of a different drive meaning my PC only works with both the drives turned on đ€Ą
→ More replies (1)
2
2
2
2
2
u/shinstra May 16 '22
My favorite mistake trying to update python years ago when I was first introduced to Linux >>> sudo apt-get uninstall python
2
u/McMayMay May 16 '22
I don't understand how going to the dev operations team would help with your notebook problem? Did you mean IT support team?
2
2
2
2
u/fdeslandes May 17 '22
I remember that, as a junior, I learned to commit often after reverting 2 weeks of changes by mistake...
2
2
u/FreedomforHK2019 May 17 '22
Haha, I did something similar to a client software update once. No one could figure out how the update got so screwed up - then we all figured out at roughly the same moment that it was me because of something I did the night before during pre-update maintenance. OOPS!! Needless to say I worked late that day!
2
May 17 '22
Me, searching in the comments how to bring back the GUI without a fresh reinstall of the OS.
→ More replies (4)
2
2
2
May 17 '22
The thing about being highly skilled is that it mainly equips you to make bigger and more exciting mistakes.


252
u/evaxadam May 16 '22
Did you try to install Steam?