ubuntu 12.04管理員密碼忘記 - Linux

By Blanche
at 2012-09-24T16:55
at 2012-09-24T16:55
Table of Contents
其實也不是忘記,因為我密碼設定都一樣,鑰匙圈的密碼還可以用
但好像從使用者帳號登入選項那裡的密碼改成"沒有"後,
以前的使用者密碼就無法登入了
現在沒有密碼無法安裝更新,也google了網路上的辦法
從修復模式去改root的密碼,passwd 我的username
不過他卻不讓我改也沒有用
難道要重灌了嗎??
-----------------------
終於在網路上找到解決的方法了,
原本在root下passwd會出現Authentication token manipulation error的錯誤
只要在root下輸入mount -o remount,rw /
輸入後在打chattr -i /etc/passwd 和 chattr -i /etc/shadow
就可以成功passwd了!
--
但好像從使用者帳號登入選項那裡的密碼改成"沒有"後,
以前的使用者密碼就無法登入了
現在沒有密碼無法安裝更新,也google了網路上的辦法
從修復模式去改root的密碼,passwd 我的username
不過他卻不讓我改也沒有用
難道要重灌了嗎??
-----------------------
終於在網路上找到解決的方法了,
原本在root下passwd會出現Authentication token manipulation error的錯誤
只要在root下輸入mount -o remount,rw /
輸入後在打chattr -i /etc/passwd 和 chattr -i /etc/shadow
就可以成功passwd了!
--
Tags:
Linux
All Comments

By Ina
at 2012-09-28T15:46
at 2012-09-28T15:46

By Audriana
at 2012-10-03T00:32
at 2012-10-03T00:32

By Michael
at 2012-10-05T09:27
at 2012-10-05T09:27

By Audriana
at 2012-10-09T13:46
at 2012-10-09T13:46

By Ula
at 2012-10-14T12:21
at 2012-10-14T12:21
Related Posts
linux使用rsync進行差異備份

By Margaret
at 2012-09-24T15:09
at 2012-09-24T15:09
HackingThursday 固定聚會 (2012-09-27)

By Steve
at 2012-09-24T12:03
at 2012-09-24T12:03
英文系統 中文輸入 可行嗎?

By Gilbert
at 2012-09-24T02:49
at 2012-09-24T02:49
當機怎麼查?

By Una
at 2012-09-24T00:34
at 2012-09-24T00:34
Fedora 17 安裝在 VMserver 的問題

By Victoria
at 2012-09-23T12:26
at 2012-09-23T12:26