📌  相关文章
📜  授予用户 root 权限 oracle linux - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:42.751000             🧑  作者: Mango

代码示例1
usermod -aG root user or usermod -aG sudo user
# the in order to avoid password set edit permission to file:
# /etc/sudoers and add to it in the last line:
userALL=(ALL:ALL) NOPASSWD: ALL