精选圈子榜单优站
Nemo
Nemo
管理员
路漫漫其修远兮,吾将上下而求索。

Debian xxx不在 sudoers 文件中。此事将被报告


网上查过说是在终端执行:sudo gedit /etc/sudoers

Defaults    env_reset
Defaults    mail_badpass
Defaults    secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root    ALL=(ALL:ALL) ALL
# Members of the admin group may gain root privileges
min ALL=(ALL:ALL) ALL

# Allow members of group sudo to execute any command
%sudo    ALL=(ALL) ALL
xx       ALL=(ALL) ALL  (将此处的XX修改为出现改问题的用户名!)

  • 若文章侵犯了您的权益,请联系站长处理:nemo@link-nemo.com

  • 2016-04-10
  • 2942阅读
评论