不在 sudoers 文件中。此事将被报告。
Tofloor
poster avatar
isunny
deepin
2012-12-18 07:20
Author
xdd@xdd ~ $ sudo apt-get update
[sudo] password for xdd:
xdd 不在 sudoers 文件中。此事将被报告。


系统为mint 14
Reply Favorite View the author
All Replies
cxbii
deepin
2012-12-18 07:24
#1
应该是sudo配置文件出错
http://baike.baidu.com/view/1138183.htm#4
Reply View the author
tuhaihe
deepin
2012-12-18 18:43
#2
xdd@xdd ~ $ sudo apt-get update
[sudo] password for xdd:
xdd 不在 sudoers 文件中。此事将被报告。
系统为mint 14
参考 2 楼回答,设置你的 xdd:

xdd        ALL=(ALL:ALL) ALL
Reply View the author
isunny
deepin
2012-12-18 19:33
#3
[quote]xdd@xdd ~ $ sudo apt-get update
[sudo] password for xdd:
xdd 不在 sudoers 文件中。此事将被报告。
系统为mint 14
参考 2 楼回答,设置你的 xdd:

xdd        ALL=(ALL:ALL) ALL[/quote]


你的会答是对的,解决方法:
1 在livecd 下
  1. sudo pluma /etc/sudoers
  2. 最下面加入
  3. xdd           ALL=(ALL:ALL) ALL
Copy the Code
或者 直接 su  切换到root    然后在修改 /etc/sudoers
因为xdd不再sudoer组  但是在root组
Reply View the author
cxbii
deepin
2012-12-18 19:36
#4
我很奇怪,你的为什么会出现这个问题,你做了什么呢...
我在安装arch的时候才需要配置sudo吧,mint一直都是不需要自己配置的吧?
Reply View the author
isunny
deepin
2012-12-18 22:12
#5
我也不知怎么回事  是在用着的时候突然出现的  系统是新安装的   首先就各种安装  然后问题就出来了
Reply View the author
cxbii
deepin
2012-12-18 22:21
#6
我也不知怎么回事  是在用着的时候突然出现的  系统是新安装的   首先就各种安装  然后问题就出来了
可能哪里有误操作吧...
Reply View the author