免费注册 查看新帖 |

Chinaunix

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

solaris8.0 忘记root的密码 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-18 11:25 |只看该作者 |倒序浏览
请问是否有什么办法解决?\r\n我不想重装系统,谢谢!\r\nsun ultra 5工作站

论坛徽章:
0
2 [报告]
发表于 2003-06-18 11:28 |只看该作者

solaris8.0 忘记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

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

solaris8.0 忘记root的密码

又来一个——每天都有!!!!!\r\n请先搜索一下久贴吧~~~~~

论坛徽章:
0
4 [报告]
发表于 2003-06-18 11:29 |只看该作者

solaris8.0 忘记root的密码

我好象听说过老师说\r\n\r\n   按空格加64个C的方法,是内存溢出法你 试试看

论坛徽章:
0
5 [报告]
发表于 2003-06-18 11:32 |只看该作者

solaris8.0 忘记root的密码

原帖由 \"pengtao_hlp\" 发表:\n我好象听说过老师说\r\n\r\n   按空格加64个C的方法,是内存溢出法你 试试看
    \r\n\r\n打过不定就不灵了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP