- Mastering Linux Security and Hardening
- Donald A. Tevault
- 79字
- 2021-07-02 19:19:22
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.
推薦閱讀
- Practical Network Scanning
- 網(wǎng)絡(luò)空間安全:管理者讀物
- 數(shù)字安全藍皮書:本質(zhì)屬性與重要特征
- Web安全與攻防入門很輕松(實戰(zhàn)超值版)
- 安全實戰(zhàn)之滲透測試
- 諸神之眼:Nmap網(wǎng)絡(luò)安全審計技術(shù)揭秘
- ARM匯編與逆向工程:藍狐卷·基礎(chǔ)知識
- 物聯(lián)網(wǎng)安全滲透測試技術(shù)
- 人工智能安全(精裝版)
- 先進云安全研究與實踐
- 黑客攻防從入門到精通
- 網(wǎng)絡(luò)關(guān)鍵設(shè)備安全檢測實施指南
- 隱私計算:推進數(shù)據(jù)“可用不可見”的關(guān)鍵技術(shù)
- Mastering Python for Networking and Security
- INSTANT Microsoft Forefront UAG Mobile Configuration Starter