单用户模式,只有一个用户可以访问某个资源的状态。SQL Server 实例和单独的数据单用户模式(英语:Single user mode),是在类Unix系统上工作时的一种拥有超级用户权限的模式。通常在引导菜单给予1或S参数能进入这个模式。这个模式只在面对主机实体时才有机会透过引导菜单进入,也因此确保超级权限授予的对象是能接触到主机的超级用户。此操作通常用于维护硬盘分区或更改超级用户密码等需在磁盘挂载前操作的维护。库都可以置于单用户模式。
例如,添加参数s启动到单用户模式。
For example, add the s parameter to boot into single user mode.
在单用户模式下管理数据库服务器。
然后按 Enter 和 B,内核会启动到单用户模式。
Then press Enter, B, and the kernel will boot up to single-user mode. Once here you can run the passwd command, changing password for user root
应用推荐