⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 643.shtml

📁 UNIX的东西
💻 SHTML
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>解决SCO UNIX密码丢失的完全方法 - fanqiang.com</title>
<style type="text/css">
body,th,input,select,textarea,select,checkbox{font:12pt 宋体}
A:link { text-decoration:underline; color:#E6A306}
A:visited { text-decoration:underline; color:#E6A306}
A:hover { text-decoration:underline; color:#FFFF00}
body {  font-family: "宋体", "serif"; font-size: 12pt}
td {  font-family: "宋体", "serif"; font-size: 12pt}
p  { font-size: 9pt; line-height: 150%}
</style>
</head>
<body text="#ffffff" bgcolor="#000000" background="/images/bline.gif"  topmargin=5 marginheight=5 leftmargin=0 marginwidth=0 onLoad="setTailPosition()">
<center>

<table border="0" width="750"  cellspacing="0" cellpadding="0">
<tr>
  <td height="45"><p align="center"><img src="/images/title.gif" alt="[ 永远的UNIX::UNIX技术资料的宝库 ]"> </td>
  </tr> 
<tr>
<tr>
 <td align=left height="40" valign=bottom align=left><small><a href="/">首页</a> > 系统管理 > <a href=/system/sco/index.shtml>SCO</a> > 正文</small></td>
</tr>
<tr>
  <td width="100%" height="2" colspan="5" bgcolor="#D09F0D"><img src="/images/c.gif" width=1 height=1></td> 
</tr>
</table>

<table width=750 border=0 cellspacing=0 cellpadding=0>
<tr><td valign=top align=center >
<br>
	<table width=90% border=0 cellspacing=0 cellpadding=0 align=center>
	<tr><th class=f24><h1>解决SCO UNIX密码丢失的完全方法</h1></th></tr>
	<tr><td height=20 align=center><font color=#999999><small> 本文出自: http://go3.163.com/~axiom999 (2001-06-19 12:10:00)</small></font></td></tr>
	<tr><td ><br>
<script type="text/javascript"><!--
google_ad_client = "pub-0052768304011480";
google_alternate_color = "000000";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="5959447789";
google_color_border = "000000";
google_color_bg = "666666";
google_color_link = "FFFFFF";
google_color_url = "FF9900";
google_color_text = "CCCCCC";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>	
	</td></tr>
	<tr><td height=15></td></tr>
	<tr><td class=l17><font id="zoom" class=f14>
<font color=#cccccc>
<!-- 正文begin -->
1,&nbsp;在其他同样版本的SCO&nbsp;UNIX机器上,以&nbsp;root&nbsp;执行如右命令:&nbsp;&nbsp;&nbsp;&nbsp;#mkdev&nbsp;fd&nbsp;
<br>2,&nbsp;根据提示建立boot盘和root文件系统盘.&nbsp;
<br>3,&nbsp;在root文件系统盘上的/etc下有一passwd文件,将你正在执行上述命令的机器上的/etc/shadow拷贝到root文件&nbsp;
<br>系统中的/etc目录下.&nbsp;
<br>4,&nbsp;用boot盘和root文件系统盘启动你忘记密码的计算机.&nbsp;
<br>5,&nbsp;在root下执行下列命令.&nbsp;
<br>#fsck&nbsp;-y&nbsp;/dev/hd0root&nbsp;
<br>#mount&nbsp;/dev/hd0root&nbsp;/mnt&nbsp;
<br>6,&nbsp;将软盘中的passwd和shadow拷贝到硬盘/etc目录下,&nbsp;注意,最好将原来的文件备份.执行下列命令.&nbsp;
<br>#cd&nbsp;/mnt/etc&nbsp;
<br>#mv&nbsp;passwd&nbsp;passwd.bak&nbsp;
<br>#mv&nbsp;shadow&nbsp;shadow.bak&nbsp;
<br>#cd&nbsp;/&nbsp;
<br>#cp&nbsp;/etc/shadow&nbsp;/mnt/etc/shadow&nbsp;
<br>#cp&nbsp;/etc/passwd&nbsp;/mnt/etc/passwd&nbsp;
<br>7,&nbsp;重新启动UNIX,用新的root口令进入.全部稿掂.&nbsp;
<br>8,&nbsp;这种方法在Solaris上也试验过,仍然可行.&nbsp;
<!-- 正文end -->
<br>
(http://www.fanqiang.com)<br>
</font>
<br>
<font color=#999999><small></small></font>	
<br>

		</td></tr>
	</table>

<br>
</td></tr>
</table>

<table width=750 border=0 cellpadding=0 cellspacing=0>
<tr><td width=620 align=center>

<table width=562 border=0 cellspacing=0 cellpadding=0>
<tr><td width=562>
 	<table width=562 border=0 cellspacing=0 cellpadding=0>
 	<tr><td >
 	 

</td></tr>
<tr><td height=10></td></tr>

</table>
<!--结束:底部-->


<table border=0 width=750>
<tr>
  <td width="100%" height="2" colspan="5" bgcolor="#D09F0D"><img src="/images/c.gif" width=1 height=1></td> 
</tr>
<tr>
    <td width="100%" height="40" colspan="5" valign=top><p align="center"><font color=#ffffff>★&nbsp;&nbsp;樊强制作 欢迎分享&nbsp;&nbsp;★ </font></p></td>
  </tr>
</table>
</center>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -