Dracarys
deepin
2018-06-15 23:19 #
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
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
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
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
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d
Reply Like 0 View the author


中文 


而且我的设置里面换源的换不了,深度商店下不了东西,有人知道为什么吗?
说一下之前一个问题,可能跟这有关:之前我的电脑只有一个叫deepin的用户(root用户之前忘记设置密码),然后我不小心把deepin这个用户换成了别的组了(现在的组是deepin组),导致deepin这个用户连sudo都用不了,然后我在恢复模式下在/etc/sudoers文件中加了deepin ALL=(ALL:ALL) ALL才把sudo的权限拿到,然后好像自那之后就出了这个问题了。
不然有人能把/etc/sudoers文件的内容发出来看看吗?