可能的重复:
启用/禁用服务的推荐方法是什么?
除了以下命令之外,是否还有其他命令可以在 ubuntu 中启动停止重启服务。
service --status-allservice <service name> stop sudosysv-rc-conf所以我只是做了一个sudo apt-get upgrade并回答Y了它问我的一个问题,现在我不再是一个 sudoer。甚至我们的根也不再是 sudoer。解决办法是什么?
Configuration file '/etc/sudoers'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is …Run Code Online (Sandbox Code Playgroud)