Question for Unix/Linux/Android, is there a login that the password determines the user?

Example: a special password used under duress with the authorities over my shoulder demanding access, they get into the prepared account. If my usual password is entered, the system logs me into my normal account with all my gay. And a third "self destruct" password does a rm -rf in the background while a forever static login screen is displayed.

I'm surprised I've never seen this hack done yet...
#security #RubberHoseSecurity
N. E. Felibata πŸ‘½ hat dies geteilt
gunnar
I've seen this sort of thing. If I'm not mistaken it was on Github for one of the BSDs. There might be something like that for other OSes too.
smellsofbikes
I'm pretty sure I read about something like this, 15 years ago or thereabouts, but it just had a straight vs actual account pair. I'll see if I can hunt it down.

This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website.