Skip to main content


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 πŸ‘½ reshared this.

Well you could create a burner account that has sudo privileges and the RM command in the .bashrc file or something?
I believe I have heard of something like this, yes.

What do you think about this idea?

kali.org/blog/emergency-self-d…

I got this link from here, where msny good words are written on why your scenario is not relevant

unix.stackexchange.com/questio…

That would work, but want the destructive password to log into the Innocent looking account like everything was normal and wipe the keys for the real account
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.
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.
⇧