- 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.
- 數(shù)據(jù)恢復(fù)方法及案例分析
- 腦洞大開:滲透測試另類實(shí)戰(zhàn)攻略
- Preventing Digital Extortion
- Python Penetration Testing Cookbook
- 云原生安全與DevOps保障
- 從實(shí)踐中學(xué)習(xí)密碼安全與防護(hù)
- 網(wǎng)絡(luò)關(guān)鍵設(shè)備安全檢測實(shí)施指南
- INSTANT Apple Configurator How-to
- 網(wǎng)絡(luò)服務(wù)安全與監(jiān)控
- 信息安全工程與實(shí)踐
- Mastering Linux Security and Hardening
- 隱私保護(hù)機(jī)器學(xué)習(xí)
- 一本書讀透金融科技安全
- 黑客攻防入門
- Metasploit Bootcamp