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

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.

主站蜘蛛池模板: 湟源县| 七台河市| 大名县| 靖州| 顺昌县| 斗六市| 广丰县| 永和县| 邢台县| 漾濞| 临桂县| 苍南县| 广昌县| 宝鸡市| 布尔津县| 昆明市| 吉木乃县| 东兴市| 罗城| 晴隆县| 南靖县| 宁波市| 景东| 阿坝县| 新巴尔虎左旗| 晋宁县| 镇雄县| 余庆县| 景宁| 芦山县| 公安县| 合川市| 泸西县| 潜江市| 浮山县| 关岭| 白玉县| 洪湖市| 天长市| 白河县| 襄城县|