# 以root权限执行以下操作 # 添加用户 useradd vbird1 # 为用户设置密码 passwd vbird1 # Changing password for user vbird1. # New password: ****** # Retype new password: ****** # passwd: all authentication tokens updated successfully. # 检查/etc/sudoers配置 visudo # 检查以下配置是否启用 "%wheel ALL=(ALL) ALL" # 将用户附加到wheel补充组 usermod -G wheel -a vbird1
CentOS 7.x 环境下添加拥有sudo使用权的用户
猜你喜欢
转载自www.cnblogs.com/f0rsaken/p/11354131.html
今日推荐
周排行