sudo-project / sudo

Utility to execute a command as another user
https://www.sudo.ws
Other
1.15k stars 208 forks source link

Feature request: Sudoedit update file on write #301

Open bmariuszb opened 11 months ago

bmariuszb commented 11 months ago

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.