Mooonlight.Cal 2022-04-15 11:09 采纳率: 80%
浏览 632
已结题

localadmin is not in the sudoers file. This incident will be reported

安装了vscode 在localadminadmin用户下,启动不了。
看其他人的博客设置了一下 localadmin用户的~/.bashrc,加了一条alias code='sudo code --user-data-dir="/!:1"',
然后启动提示了 localadmin is not in the sudoers file. This incident will be reported。
然后我在root下修改/etc/sudoers,请问这最后一个ALL,我应该添加什么命令啊?,如果我写ALL,那不就和root用户没区别了吗?

localadmin is not in the sudoers file. This incident will be reported

求hxd赐教

  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 系统已结题 4月23日
    • 创建了问题 4月15日