So…
PROMPT=$P$G$_#
??
Neeeerrrrrrds!
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 :OYou 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.
Layman explanation :
“PS1” is the primary shell prompt.
So, it is that which the linux operating system displays at the start of each line where you, the user, type a command.
Obtaining “#” as the prompt would normally indicate to the user that the next command is to be accepted as having “root privileges” (thought it could do whatever to the system) … but in the above case, the “#” doesn’t mean that … nor anything other than : that prompt as been changed.Ah yes, the linux operating system… It’s actually usually Linux distros that display lots of things with colors, other unixes are usually just the hostname with $ or #. Identifies the machine and isn’t distracting, just how I like it. Except for the part when I forget which dir I am in, of course.
So the joke here really is :
“Hey we programmers are so bright since we do understand this while laymen do not.”“I’m not the target audience so OP must be elitist”
Not everything is for you and that’s ok
i accept your constructive criticism : your comment helps me a little understand myself.
It’s actually “this joke made me laugh but not a lot of people will understand, so I’m posting it in a space where like minded people hang out rather than confuse most people by posting it in a general humor community.”
Not everything is an attack.
i value your opinion and it’s probably better on topic than mine since i am quite bitter about programming and software. Whatever the O.S. , linux , Microsoft or other, since many decades, it is still creating trouble … yet i use some of it right now. Nevermind, i should be happy that people can make jokes and have a good time.
Thank god I use zsh.
I am pretty sure you can tipe “bash” to switch to it in any shell.
tipe “bash” to switch to it in any shell.
I’m pretty sure typing
bashturns it into bash, not any shell;-)
Dear god, when combined with terminal2shell this can compromise every Unix-like system ever created.
It all started with prompt2output… Who would have known
Looks like the hacker was exporting your PlayStation 1!!! Lock this place DOWN.
Would you steal a PlayStation?
No, but I would download a PS1.
$ echo "Access granted." Access granted.gork is this tru
Fuck, it works on my machine. When can we expect a patch?
echo "Patch installed."Have you read the full report?
You can work around the issue by removing the french language pack from your system.
Holy crap, didn’t expect it to go I to that much detail.
oh my god











