我需要安装一个软件包。为此,我需要root访问。但是系统说我不在sudoers文件中。尝试编辑一个时,它会发出类似的抱怨!如果我无权编辑自己,该如何将自己添加到sudoers文件中?
我已经安装了该系统,并且只有管理员。我能做什么?
编辑:我已经尝试过visudo
。它要求我首先要在sudoers中。
amarzaya@linux-debian-gnu:/$ sudo /usr/sbin/visudo
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for amarzaya:
amarzaya is not in the sudoers file. This incident will be reported.
amarzaya@linux-debian-gnu:/$
user not(is) the sudoers file
。(标题中的错字)