免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3050 | 回复: 2
打印 上一主题 下一主题

SOLARIS 8 X86忘了root密码,但可一般用户帐号登入 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-16 13:14 |只看该作者 |倒序浏览
如何得到密码呢先上google.com搜吧.

论坛徽章:
0
2 [报告]
发表于 2003-06-16 13:43 |只看该作者

SOLARIS 8 X86忘了root密码,但可一般用户帐号登入

我对solaris 不是太熟悉, 应该也有单用户模式吧?

论坛徽章:
0
3 [报告]
发表于 2003-06-16 16:57 |只看该作者

SOLARIS 8 X86忘了root密码,但可一般用户帐号登入

1. If the system is not halted, then halt the system by pressing Stop-A.\r\nok\r\n\r\n2. Place the installation cdrom in the cdrom drive. Boot the system to single user mode using the cdrom drive.\r\nok boot cdrom -s\r\n\r\n3. When Restart.\r\n# fsck -y /dev/dsk/c0t0d0s0\r\n# mount /dev/dsk/c0t0d0s0 /a\r\n# cd /a/etc/\r\n# vi shadow\r\nFind root\'s entry in the file and make the second field null. Colons are the field delimeters. So your entry, after changes, should look something like: \r\nroot::10565:::::: \r\n\r\n4. Boot to single user mode using the hard disk.\r\n# reboot -- -s \r\nNote: That is reboot space hyphen hyphen space hyphen s.\r\n\r\n5. You can log in as root without a password and set root\'s password using the passwd command.\r\n# passwd\r\n# sync\r\n\r\n6. Exit single user mode and let the system continue booting to multi-user mode.\r\n# reboot
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP