Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
按照这个答案,我修改了默认的 sudo 密码超时,如下所示。
$ cd /etc/sudoers.d $ sudo visudo -f <user_name>
添加内容
Defaults timestamp_timeout=60
这在常规 shell 中运行良好。但是tmux每次都无法识别此修改并提示密码。如何tmux识别这种修改。
tmux