linux 运行级别
运行级别
|--0: 关机
|--1:单用户(找回丢失密码)
|--2:多用户无网络服务
|--3:多用户有网络服务
|--4:保留
|--5:图形界面
|--6: 重启
系统的运行级别配置文件(/etc/inittab)
|--切换到指定运行级别指令
基本语法
init [012356]
eg:
忘记root密码,如何找回
思路:进入单用户模式,然后修改root密码,
单用户模式,root不需要密码就可以登录