After a few minutes, the single-user mode # prompt is displayed.
2. Mount the root (/) file system that has the invalid passwd file.
# mount /dev/dsk/devicename /a
3. Change to the newly mounted etc directory.
# cd /a/etc
4. Make the necessary change to the passwd file using an editor.
# vi passwd
5. Change to the root (/) directory.
# cd /
6. Unmount the /a directory.
# umount /a
7. Reboot the system.
# init 6
8. Verify the system boots to run level 3.
The login prompt is displayed when the boot process has finished successfully.
hostname console login:
cuiy 回复于:2003-06-23 13:29:30
h. Type b -s at the prompt. Press Enter.
After a few minutes, the single-user mode # prompt is displayed.
如果能用的话,巨好,着了很长时间了,晚上回家试试
先帮你顶着
朽木可雕 回复于:2003-06-23 13:58:33
我昨天已经试了,能行的
ac220v 回复于:2003-06-23 18:13:27
嗯,,谢谢,很好。。。我也正想知道呢
朽木可雕 回复于:2003-06-24 08:49:51
可是,当我进入#提示符后,想创建目录时,却说我权限不够。请问怎么才能加权限呢?
cuiy 回复于:2003-06-24 10:19:13
随便找一个没有被加载的目录即可。
加载后,需要修改的是shadow
| 论坛热门帖子: | [lch203] 写得蛮好的linux学习笔记(10-21) [黑马制造] 学习java的30个目标(10-19) [笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19) [udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18) [沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18) |
| TAG标签: | 口令 丢失 错误 修复 超级 用于 如何 光盘 启动 F2_Continue |
注册
个人空间
