- Mastering Linux Security and Hardening
- Donald A. Tevault
- 148字
- 2021-07-02 19:19:21
The sudo timer
By default, the sudo timer is set for 5 minutes. This means that once a user performs one sudo command and enters a password, he or she can perform another sudo command within 5 minutes without having to enter the password again. Although this is obviously handy, it can also be problematic if users were to walk away from their desks with a command terminal still open. If the 5 minute timer hasn't yet expired, someone else could come along and perform some root-level task. If your security needs require it, you can easily disable this timer by adding a line to the Defaults section of the sudoers file. This way, users will have to enter their passwords every time they run a sudo command. You can make this a global setting for all users, or you can just set it for certain inpidual users.
- INSTANT Netcat Starter
- 黑客攻防入門秘笈
- Enterprise Cloud Security and Governance
- 安全實戰之滲透測試
- 網絡安全三十六計:人人該懂的防黑客技巧
- 信息安全案例教程:技術與應用(第2版)
- API安全技術與實戰
- Instant Java Password and Authentication Security
- 數據保護:工作負載的可恢復性
- 構建新型網絡形態下的網絡空間安全體系
- Cybersecurity Threats,Malware Trends,and Strategies
- 云計算安全防護技術
- Web安全攻防從入門到精通
- Practical Mobile Forensics
- Real-World SRE