相关疑难解决方法(0)

如何启动和停止服务?

可能的重复:
启用/禁用服务的推荐方法是什么?

除了以下命令之外,是否还有其他命令可以在 ubuntu 中启动停止重启服务。

  1. service --status-all
  2. service <service name> stop
  3. sudosysv-rc-conf

init.d upstart services

66
推荐指数
2
解决办法
47万
查看次数

mona 不在 sudoers 文件中。此事件将被举报

所以我只是做了一个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)

permissions root sudo 14.04

12
推荐指数
1
解决办法
1万
查看次数

标签 统计

14.04 ×1

init.d ×1

permissions ×1

root ×1

services ×1

sudo ×1

upstart ×1