151
Exit Sign (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] FigMcLargeHuge@sh.itjust.works 9 points 1 week ago* (last edited 1 week ago)

That's the people who use vi to view a file. Watched a guy almost get fired when he shared his screen during an audit and had 'sudo vi /etc/shadow' right there in the command window. Auditor saw it and called him on it. He swore that he was only viewing the file to look for a user's id, but the auditor didn't care, because he could have modified it either on purpose or by accident.

[-] interdimensionalmeme@lemmy.ml 3 points 1 week ago* (last edited 1 week ago)

sudo vi /etc/shadow

amateur !

screen sudo vi /etc/shadow

or

sudo screen nano /etc/shadow

if you're neurotypical

[-] interdimensionalmeme@lemmy.ml 1 points 1 week ago

EDITOR=/bin/rm $(which sudo) $(which visudo)

[-] racketlauncher831@lemmy.ml 3 points 1 week ago

Why not cat then? I don't care of his reasons either.

[-] MsFlammkuchen@lemmy.blahaj.zone 2 points 1 week ago
[-] FigMcLargeHuge@sh.itjust.works 3 points 1 week ago

Exactly, or grep would have worked. Dude just was used to doing this and picked the exact wrong moment to have it on his screen. He earned a finding with that one.

this post was submitted on 22 Sep 2025
151 points (99.3% liked)

Programmer Humor

38506 readers
409 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS