sudo-project/sudo

Feature request: Sudoedit update file on write

bmariuszb opened this issue · 0 comments

You could listen on user tmp file and update original file, when user changes it.
For example using vim

sudoedit /etc/asound.conf

Change something do :w, test changes, keep modifying and so on..
It's a little bit annoying to exit file in order to save changes, open it and often type password again, because sudo password expired. Changing sudo timeout is not a good idea IMO.