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
I already found another one!
echo $USERprints my current user name. Once I doUSER=rootit shows im running as root. And I wasn’t even asked for my sudo password! :O :O :OPwned again!
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 😭
Huh. It is worth bearing in mind not to trust $USER before doing something based on it, though, if that thing is important.