logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

is not in the sudoers file 解决

当在shell执行sudo命令时,系统提示“xxxis not in the sudoers file”:原因: 用户xxx没有权限去sudo解决方法是给其赋权,步骤如下:1.切换到超级用户:su2.打开/etc/sudoers文件:vim /etc/sudoers3.修改文件内容:找到“root ALL=(ALL:ALL) ALL”一行,在下面插入内容“xxx ALL=(ALL:ALL) ALL

#linux#vim#p2p
暂无文章信息