ravenac95 / sudolikeaboss

Get 1password access from iterm2
http://sudolikeaboss.com
MIT License
1.51k stars 51 forks source link

Add an option to not "auto-submit" passwords #18

Open olfway opened 8 years ago

olfway commented 8 years ago

Now it prints "password\n", but that "\n" not always needed

bensherman commented 8 years ago

Can you give an example of when you need to enter in a password into a terminal and not have it hit enter?

olfway commented 8 years ago

Sure, for example mysql: CREATE USER 'jeffrey'@'localhost' IDENTIFIED BY 'new_password'

or some config editing as i have not only my own password for sudo, but other passwords as well

Also (and more important for me) i want to hit enter myself, because sometimes password prompts expires, and system asks for login again. if you autosubmit password in that time - your password will be stored in logs as wrong login. I'm considering this as serious security issue