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

Preventing users from having root shell access

Let's say that you want to set up a user with limited sudo privileges, but you did so by adding a line like this:

maggie     ALL=(ALL)     /bin/bash, /bin/zsh

I'm sorry to say that you haven't limited Maggie's access at all. You effectively gave her full sudo privileges with both the Bash shell and the Zsh shell. So, don't add lines like this to your sudoers because it will get you into trouble.

主站蜘蛛池模板: 正宁县| 梨树县| 饶平县| 丰台区| 天气| 华坪县| 广丰县| 壤塘县| 宣化县| 台江县| 开化县| 同仁县| 遂平县| 西宁市| 即墨市| 甘泉县| 承德市| 永春县| 红河县| 区。| 安远县| 桃江县| 夏邑县| 桐梓县| 仁布县| 阿荣旗| 平原县| 宁南县| 碌曲县| 玉门市| 城固县| 乐都县| 乃东县| 桂平市| 郓城县| 双辽市| 措美县| 乌兰察布市| 全州县| 松阳县| 屏东市|