如何更改Ubuntu(lucid)的默认运行级别?

前端之家收集整理的这篇文章主要介绍了如何更改Ubuntu(lucid)的默认运行级别?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我的家用电脑上有Ubuntu lucid.今天我正在尝试运行级别,我无法弄清楚如何更改Ubuntu的默认运行级别.我可以在Debian 504上使用/ etc / inittab做到这一点但是Ubuntu中没有该文件.我在网上搜索过但无法找到答案.

提前致谢.

按照init init:
  1. The /etc/inittab file was the configuration file used by the original
  2. System V init(8) daemon.
  3.  
  4. The Upstart init(8) daemon does not use this file,and instead reads
  5. its configuration from files in /etc/init. See init(5) for more
  6. details.

如果你查看/etc/init/rc-sysinit.conf,你应该找到一个类似于这样的行:

  1. # Default runlevel,this may be overriden on the kernel command-line
  2. # or by faking an old /etc/inittab entry
  3. env DEFAULT_RUNLEVEL=2

要么更改它,要么使用手动生成的/ etc / inittab.

猜你在找的Ubuntu相关文章