热门

最新

红包

立Flag

投票

同城

我的

发布
timonium
白-胖-子
4 年前
truetimonium

《RHCSA-A16. 设置普通用户提权免密》
红帽RHCE考试上午-RHCSA(RH134)
servera.example.com 任务
16. 设置普通用户提权免密
任务要求

允许sysmgrs组成员sudo时不需要密码

完成步骤

如果要求新建用户就新建一个
useradd -G sysmgrs natasha
修改sudo配置文件添加权限

visudo
## 大概在100行左右的地方添加一行
## Allow root to run any commands anywhere
%sysmgrs ALL=(ALL) NOPASSWD: AL
——来自博客
https://blog.csdn.net/timonium/article/details/120564535

这篇文章对您有帮助么?(单选)
0 人已经参与 已结束
有
0人
没有
0人
CSDN App 扫码分享
分享
评论
点赞
  • 复制链接
  • 举报
下一条:
三行代码Python视频转gifhttps://quniao.blog.csdn.net/article/details/120561447
立即登录