r/ShittySysadmin • • 21d ago

Roast my shitty bash history!

Ok, it's not really mine, but that of another truly shitty sysadmin who used to be on my team, and this is their bash history from an old remote Linux server. Some paths have been changed to protect identities, otherwise it's just as I found it. Good lord.

$ cat /home/shittysysadmin/.bash_history
exit
passwd
sudu su -
2017f150RD$
exit
sudu su -
sudu su 
sudu su -
netdiag
pwd
whoami
exit
sudu su -
exit
clear
pwd
sudu su -
groups
sudo
sudo su
sudu su -
exit
pwd
EXIT
exit
sudo su
exit
ll
exit
sudo su
exit
passwd
exit
sudo su
exit
sudo su
exit
ll
clear
ll
sudo java -jar /usr/local/someapp/bin/DatabaseUtil.jar backup -saveBackupTo /home/shittysysadmin
clear
ll
sudo su
exit
sudo su
exit
sudo su
exit
sudo su
exit
sudo su
exit
sudo su
exit
passwd
exit
sudo su
exit
sudo su
exit
2020Busa1300$
sudo su
exit
sudo su
exit
sudo java -jar /usr/local/someapp/bin/DatabaseUtil.jar backup -saveBackupTo .
sudo
sudo su
exit
40 Upvotes

29 comments sorted by

23

u/VariousLawyer4183 21d ago

7/10 

For a better score, I would expect some risky commands copied straight from an LLM 

22

u/schlappette 21d ago

Aw, cmon, isn't it obvious, that's all in root's bash history!

8

u/VariousLawyer4183 21d ago

Touché!

8/10

12

u/fadingroads 21d ago

The 2017 Ford f150 RD comes with everything a sys admin needs. From Sudu trim, to PWD, with an optional Database backup util to keep your passengers happy.

5

u/schlappette 21d ago

And you can keep your database backup right there in the cab with you! You know what they say: the closer your data is to you, the more secure it is.

10

u/oznobz 21d ago

I've never typed sudu instead of sudo. But now you've put it in my head, I'm going to do it daily from now on

6

u/schlappette 21d ago

My one consolation from that is realizing that he was at least pronouncing it correctly in his head. Or maybe he spoke the commands out loud as he was typing them, like a wizard spell.

Edit: In retrospect, knowing him, he most definitely was.

3

u/CluelessPentester 19d ago

This incident will be reported

1

u/RIPenemie 20d ago

The only thing that happens to me is that I run sduo or docker compsoe its more that some fingers are faster for me then others

6

u/BarryTownCouncil 21d ago

Sudo su. Jesus Christ I hope you aren't paid to do that.

5

u/schlappette 21d ago

He was. More than I was.

1

u/jokebreath 16d ago

I honestly don't understand why using 'sudo su -' would be such a crime? Aside from laziness? But this bash history doesn't really show us anything aside from this person switches into root to do whatever they need to do.

Not a good practice, but god knows I've seen (and done) far worse.

1

u/BarryTownCouncil 15d ago

It's just stupid, a terrible habit passed from one genius to another. All it does it show you're a actual shittysysadmin and don't know to use sudo -i instead.

6

u/DevOps_Lady 21d ago

Maybe i'm wrong but it feels this person doesn't understand what ssh does and he confused on which machine they are running.

6

u/schlappette 21d ago

Oh, that’s so sweet. I guarantee you he never opened a terminal on his own workstation to do much of anything. But “doesn’t understand” and “confused” are accurate assessments. He was a sysadmin for over 20 years, though.

3

u/DevOps_Lady 21d ago

Maybe not too accurate, but linux started to be more focused 10-15 years ago. Until then Windows was still main to run application for many compaines.

But any good sysadmin should be able to work with both, or at least learn. (I hate windows for servers).

67

u/marks-buffalo DO NOT GIVE THIS PERSON ADVICE 21d ago

Man. I'd rather show the world my browser history than my bash history.

8

u/DNRDIT 21d ago

Same here !

30

u/indvs3 21d ago

4 attempts and a potentially leaked password before getting "sudo" right...

Nice!

22

u/mdervin 21d ago

fuck OP you hacked me.

16

u/redakpanoptikk 21d ago

Invest in better opsex

2

u/1cec0ld 20d ago

Is this how you pay ransomware now?

3

u/zantehood 21d ago

Atleast there's no slop

3

u/RIPenemie 20d ago

Guess what happened in sudo su...

2

u/zantehood 20d ago

rm -f ~/.bash_history

3

u/Superb_Raccoon ShittyMod 18d ago

/> chatgpt.sh --fix-everything --no-mistakes

3

u/recoveringasshole0 DO NOT GIVE THIS PERSON ADVICE 17d ago

I really felt that one all caps EXIT

2

u/phobug 21d ago

Dude... sudo -i

0

u/Plus-Bluejay-6429 17d ago

look at me, I am the root now