[Feature Request] Save password on entry
Closed this issue · 4 comments
Every time I "Save as Root" it asks for the password. Can you have it remember it for this project?
Thank you for reporting the issue. There was a problem with the way the sudo command was invoked. I've fixed it in de7f7fa and published v1.3.9.
This is so much better now!!!!!
Thanks!
Thank you for your work!
I wanted to point out that when I use the extension, it always asks me for my password every time I save.
I insert it and it asks me for it every time I save one file.
Is there a way to save it the first time I log in?
There is no way to make the extension remember the password.
However, sudo, which this extension calls, should maintain the authorized session for 15 minutes by default, during which you should not need to input the password again. If you find yourself needing to input the password too frequently, you might want to edit /etc/sudoers
to disable the password input (NOPASSWD:
) or adjust the timeout (timestamp_timeout
).
Since sudo has these features, I haven't implemented the feature to save the password because it is reinventing the wheel in an insecure way.