Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
修改系统/etc/passwd文件后无法登录
Experiences and Insight
2258
views ·
6
replies ·
To
floor
Go
ma5694
deepin
2017-06-14 23:19
Author
https://jingyan.baidu.com/article/6181c3e0780131152ef153ff.html
看的是这篇文章,修改以后,强行关机,开机后显示下面界面,无法登录进去
请问如何解决?
Reply
Like 0
Favorite
View the author
All Replies
emofode
deepin
2017-06-14 23:34
#1
明显是作死
Reply
Like 0
View the author
jingle
deepin
2017-06-14 23:46
#2
如何修改密码?
A:操作步骤如下:
1、首先开机选择“Advanced options for *****”这一行按回车。
2、然后选中最后是“(recovery mode)”这一行按“E”进入编辑页面。
3、将“ro recovery ”改为“rw single init=/bin/bash”。
4、按ctrl+X或者F10启动,进入root shell。
5、执行passwd+用户名。
6、修改完成后按ctrl + alt + del重启电脑。
Reply
Like 0
View the author
jingle
deepin
2017-06-14 23:46
#3
试试上面的,看还能处理不
Reply
Like 0
View the author
ma5694
deepin
2017-06-15 00:07
#4
https://bbs.deepin.org/post/141046
试试上面的,看还能处理不
进入shell了 然后我执行了passwd 用户名(passwd mma) ,然后输入了2次密码 重启之后还是不行;对了 ,我mma这个用户默认bash是fish 有影响吗? 我再试一次
Reply
Like 0
View the author
ma5694
deepin
2017-06-15 00:11
#5
https://bbs.deepin.org/post/141046
试试上面的,看还能处理不
好了,解决了 ,我进入root shell之后,将我之前修改passwd文件的修改撤销为初始值,重启之后,正常了
Reply
Like 0
View the author
q1377195627
deepin
2017-06-17 05:27
#6
叫你作死乱信百度的
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Four agent skills for laptop power, sleep, and honest bug reports
Installing qemu-user breaks deepin
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More
看的是这篇文章,修改以后,强行关机,开机后显示下面界面,无法登录进去
请问如何解决?