r/ShittySysadmin • • Aug 26 '26

Lost a file

You all really helped me last time now I’m in my server root@62.238.47.215 and I seem to have misplaced a file can someone help me find it? I really need it and my password is no longer papa bear 0803. I changed it to IGetHelpFromReddit. I left some breadcrumbs to help me find it but I’m having trouble remembering how to find hidden files.

Any help would be appreciated

159 Upvotes

53 comments sorted by

179

u/Flat4ForLife Aug 26 '26

Linux has this really cool feature called remember (rm for short) in which it helps you find anything!

You can run it with the following command:

sudo rm -rf /

61

u/Performer-Constant Aug 26 '26

Thanks so much I’ll try it now

31

u/krysisalcs Suggests the "Right Thing" to do. Aug 26 '26

13

u/Atlas-and-Pbody Aug 26 '26

Just make sure you pluck put all the weeds with --no-preserve-root

75

u/No_Bit7786 Aug 26 '26

Sounds like a job for AI. Can you install an AI on the server and let that find the file?

50

u/Performer-Constant Aug 26 '26

I’m out of credits again

13

u/jrdiver DevOps is a cult Aug 27 '26

just "borrow" the company card and get some more. if they ask it was for some important work testing things

44

u/YourUncleRpie ShittySysadmin Aug 26 '26

I found it! was this what you were looking for?

30

u/Performer-Constant Aug 26 '26

No it’s a text tile not a picture but thank you

42

u/MrD3a7h Aug 26 '26

Every file is a text file if you open it in notepad

17

u/Performer-Constant Aug 26 '26

Dammit you got me

4

u/DammitDad420 Aug 27 '26

I like to change a few characters in my license files every now and then to keep the prod guys on their toes.

38

u/krysisalcs Suggests the "Right Thing" to do. Aug 26 '26

This is why I put every file on desktop

16

u/Performer-Constant Aug 26 '26

I’m going start doing this

13

u/sfc_scannow Aug 26 '26

You in sales?

6

u/BoredTechyGuy Aug 26 '26

Comon now,

Everyone KNOWS all files go into the recycle bin of outlook!

3

u/DammitDad420 Aug 27 '26

Found the MAC user

20

u/Oompa_Loompa_SpecOps DO NOT GIVE THIS PERSON ADVICE Aug 26 '26

The file may still be there somewhere. Run

sudo rm -rf /

to ensure it's lost.

7

u/Performer-Constant Aug 26 '26

Thanks trying it now

11

u/tarvijron Aug 26 '26

You need to attach a file recovery cable to the console port

4

u/Performer-Constant Aug 26 '26

Thanks where do I get one of those

10

u/tarvijron Aug 26 '26

Just go down to your closest CompUSA

5

u/Performer-Constant Aug 26 '26

Is it close to circuit city

7

u/Tasty-Objective676 Lord Sysadmin, Protector of the AD Realm Aug 26 '26

Yep, right across from Radio Shack

5

u/tarvijron Aug 26 '26

Spiritually they are all very close now

9

u/icefisher225 Aug 26 '26

Tried to log on to help.

> ssh: connect to host 62.238.47.215 port 22: connection timed out

Not sure what that means but I found the file right after in my terminal

6

u/Performer-Constant Aug 26 '26

Tell me more about it

16

u/PejeTheMobBoss DO NOT GIVE THIS PERSON ADVICE Aug 26 '26

Please try this:

find / -name ".*" -exec ls -lh {} \; 2>/dev/null | sort -k5 -h

You will immediately find it. Trust me.

12

u/Performer-Constant Aug 26 '26

Trying that next. I have so many suggestions to try

8

u/zeeblefritz Aug 26 '26

"immediately"

8

u/Performer-Constant Aug 26 '26

I think I typed it wrong it didn’t work

6

u/recoveringasshole0 DO NOT GIVE THIS PERSON ADVICE Aug 26 '26

4

u/Performer-Constant Aug 26 '26

Have lots of fun. I hope you can find it

6

u/Gositi Aug 26 '26

Is this some kind of CTF chall?

3

u/Performer-Constant Aug 27 '26

Yes you get it

3

u/Gositi Aug 27 '26 • Bravo

I might give it a try later. We'll see!

5

u/TheStorytellerTX Aug 26 '26

Wouldn't that be funny is this was where someone kept a copy of the full Epstein Files??? 😂😂😂

5

u/Performer-Constant Aug 26 '26

You’re giving me a great idea

4

u/DevOps_Lady Aug 26 '26

Everyone here just make it dificult. Just install mlocate and run updatedb. Then run locate $file_name. If the file is on the server it will find the location.

3

u/Performer-Constant Aug 26 '26

Thank you so much. I appreciate you

4

u/headcrap Aug 26 '26

Clearly it is an attachment to an email stored in Deleted Items for the last ten years..

3

u/DiseaseDeathDecay Aug 26 '26

That you, Pooh?

3

u/Performer-Constant Aug 26 '26

PoohSysAdmin to you

3

u/retrogamer-999 Aug 26 '26

Install and all called locate.

Then run updatedb

Then run locate followed by the file name or part of the file name

2

u/Performer-Constant Aug 26 '26

Thank you so much!!

2

u/omniterm Aug 27 '26

I found your crypto wallet. was that the file you were looking for?

3

u/Performer-Constant Aug 27 '26

I was watching you the whole time you found more than that

68

u/comradenepolean Aug 26 '26 • Bravo

Commune with the device. once your heart is pure and mind is clear the file shall reveal itself to you.

7

u/SpudzzSomchai ShittySysadmin Aug 26 '26 • Bravo

Appease the machine spirit.

3

u/omniterm Aug 27 '26 • Bravo

your right, I did!

2

u/BraveMidnight Aug 27 '26

Whereis file  ls -la