Debian based:
$ sudo update-alternatives --config editor
Fedora based:
$ export EDITOR=vim
$ sudo visudo /etc/sudoers
Add timestamp_timeout after env_reset:
Defaults env_reset,timestamp_timeout=40
Now bash will remember for 40 minutes.
0 means always ask passwd, disable passwd forever set to -1.
No comments:
Post a Comment