Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
请教:普通用户切换的问题(Su)!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
cls-jz
n00b
n00b


Joined: 27 Dec 2004
Posts: 30

PostPosted: Tue Dec 28, 2004 9:34 am    Post subject: 请教:普通用户切换的问题(Su)! Reply with quote

不知到怎么了,我的普通用户突然之间,不可以切换到root了,我看了自己却实是wheel组的,
/etc/pam.d/的文件也没有问题! 可是Su到root的时候还是提示:
su: Authentication failure
Sorry.
请高手指点!
Back to top
View user's profile Send private message
wangxiaohu
Apprentice
Apprentice


Joined: 15 Nov 2003
Posts: 248

PostPosted: Wed Dec 29, 2004 11:25 pm    Post subject: Re: 请教:普通用户切换的问题(Su)! Reply with quote

cls-jz wrote:
不知到怎么了,我的普通用户突然之间,不可以切换到root了,我看了自己却实是wheel组的,
/etc/pam.d/的文件也没有问题! 可是Su到root的时候还是提示:
su: Authentication failure
Sorry.
请高手指点!


修改 /etc/login.defs :

Quote:
SU_WHEEL_ONLY no
Back to top
View user's profile Send private message
cls-jz
n00b
n00b


Joined: 27 Dec 2004
Posts: 30

PostPosted: Thu Dec 30, 2004 7:06 am    Post subject: 试了,还是不可以,提示一样! Reply with quote

试了,还是不可以,提示一样!,嘛烦大侠了,谢谢,还有别的方法吗>
Back to top
View user's profile Send private message
akar
Bodhisattva
Bodhisattva


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Thu Dec 30, 2004 3:52 pm    Post subject: Reply with quote

打錯了密碼嗎? :wink:

如果打錯root的密碼,同樣會出現一樣的報錯。 :twisted:


系統的 log 怎麼說?
_________________
AKar
Back to top
View user's profile Send private message
linky_fan
n00b
n00b


Joined: 01 Jan 2005
Posts: 33
Location: Shanghai China

PostPosted: Sat Jan 01, 2005 8:02 am    Post subject: Reply with quote

cat一下/etc/securetty, 看看你当前su的那个终端在不在这个列表里,没有的话是不能su到root去的.
_________________
Be yourself!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum