[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 我的root密碼忘了怎麼辦?



On Fri, Aug 02, 2002 at 03:46:14PM +0000, li long wrote:
> 我啟動的時候用了S參數,即
> 
> lilo: linux s
> 
> 結果還是找我要root密碼。怎麼辦?
> 
> 我用的是potato 2.2。
> 

你可以用debian的安裝啟動盤,或者從網上下載一個軟盤上的
Linux系統(http://freshmeat.net/browse/866/?topic_id=866),
用軟盤啟動後,把你硬盤上的debian的根硬盤分區加載到/mnt上,
然後編輯 /mnt/etc/shadow,把root的密碼(第2個部分)內容
改成空白(變為::)或者加密後的密碼,然後重起,進入,更改密碼。
man shadow
man crypt
man mkpasswd

-- 
hashao|                     知人者智,自知者明。
hashao|                     勝人者有力,自勝者強。
hashao|                     知足者富。強行者有志。
hashao|                     不失其所者久。死而不亡者壽。

-- 
To UNSUBSCRIBE, email to debian-chinese-gb-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.



Reply to: