嗨我正在尝试使用root帐户重新安装后将myuser添加到sudoers,
# adduser myuser admin
这使:
adduser: the group `admin' does not exist.
但这有效:
# adduser myuser root
但它并没有使myuser成为一个sudoer.
此外,/ etc / sudoers确实包含以下行:
# User privilege specification root ALL=(ALL:ALL) ALL # Members of the admin group may gain root privileges %admin ALL=(ALL) ALL
但很奇怪 – 文件/ etc / group不包含admin.
admin:x:120:myuser