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

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.

主站蜘蛛池模板: 横山县| 靖西县| 宜君县| 青岛市| 邵阳县| 临安市| 凭祥市| 阳江市| 丰都县| 成都市| 阳东县| 全南县| 祁阳县| 唐海县| 荃湾区| 凉城县| 安平县| 五家渠市| 镇沅| 潼南县| 琼海市| 铜陵市| 义乌市| 错那县| 平度市| 卢湾区| 墨脱县| 扬中市| 昌都县| 原平市| 吉隆县| 蒙自县| 霍邱县| 宿松县| 吴川市| 新晃| 九台市| 桂东县| 西林县| 益阳市| 泰州市|