this post was submitted on 21 Nov 2026
440 points (98.2% liked)

Programmer Humor

34233 readers
1427 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] dbx12@programming.dev 21 points 5 hours ago (2 children)

I already found another one!

echo $USER prints my current user name. Once I do USER=root it shows im running as root. And I wasn't even asked for my sudo password! :O :O :O

[โ€“] goferking0@lemmy.sdf.org -1 points 11 minutes ago

You joke but at work our security office mass reset passwords because they saw a list of users in the pwd file. Even after others pointed out it was just a list of usernames not their credentials AND that it couldn't be the actual credentials as we're an AD shop

They would definitely fall for that ๐Ÿ˜ญ

[โ€“] daychilde@lemmy.world 2 points 1 hour ago

Huh. It is worth bearing in mind not to trust $USER before doing something based on it, though, if that thing is important.