|
|
因为每次在需要系统的权限时总会要su 到超级用户下 #
又怕自己不小心删了什么的 这样又要回到$
觉得很不方便
以前用的是ubuntu 只需要sudo +命令
现在用时
就会有提示:
(name用户名) is not in the sudoers file. This incident will be reported.
请问下debian下的这个东西怎么设置才能象ubuntu那样 谢谢了
是不是要改下文件etc/sudoers
其中我的etc/sudoers 文件内容如下:
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
先谢谢了 |
|