Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
为什么deepin用usermod更改用户到root没作用?
Experiences and Insight
1326
views ·
3
replies ·
To
floor
Go
aassd
deepin
2016-11-03 03:55
Author
重启了,没用!!
我直接更改/etc/sudoers文件还是没用??!!
将/etc/passwd文件的用户ID改为0,居然告诉我:用户没用名字!!!然后什么都干不了了(我用单用户模式改过来了)
求哪位大神告诉我该怎么做!
Reply
Like 0
Favorite
View the author
All Replies
HualetWang
deepin
2016-11-03 20:34
#1
你又改sudoers又改/etc/passwd 目的是啥?让用户能进行sudo?
Reply
Like 0
View the author
HualetWang
deepin
2016-11-03 20:54
#2
正常加用户到 sudoers一般直接 usermod -aG sudo USERNAME 就行了
Reply
Like 0
View the author
aurthur
deepin
2016-11-04 03:10
#3
看不明白你到底做了什么,把你的命令操作过程写出来他人才能看到哪儿有问题。
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
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More
我直接更改/etc/sudoers文件还是没用??!!
将/etc/passwd文件的用户ID改为0,居然告诉我:用户没用名字!!!然后什么都干不了了(我用单用户模式改过来了)
求哪位大神告诉我该怎么做!