Hacker News new | ask | show | jobs
by amarant 92 days ago
The number of times I've posted my sudo password in a random slack channel instead of my terminal is not very high, but too damn high nonetheless
3 comments

I have had a similar issue where I thought my computer went to sleep so I start typing my password while the monitor wakes up only to realize that it was only the screen that turned off and the computer was already unlocked so when I hit enter the password was sent into a slack thread or dm instead
Start your password with a forward slash :)
The trick is to use a plausible Slack message as your sudo password :)
“I quit!” Even includes a special character
"I, uhh, need your thoughts." should have fewer consequences AND be more secure.
Did you just type in your password on HN?
hunter2