官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 合山市| 新建县| 会理县| 浮山县| 宣城市| 海伦市| 盐城市| 英超| 清水县| 平果县| 宝丰县| 怀仁县| 铜川市| 临邑县| 松阳县| 新昌县| 太保市| 乡城县| 乡宁县| 德安县| 赤城县| 宜春市| 临沧市| 东丰县| 柘城县| 乌恰县| 砀山县| 松溪县| 青川县| 丹寨县| 志丹县| 南靖县| 滕州市| 淄博市| 南昌县| 东阳市| 农安县| 双城市| 桐乡市| 金寨县| 长白|