View previous topic :: View next topic |
Author |
Message |
cls-jz n00b


Joined: 27 Dec 2004 Posts: 30
|
Posted: Tue Dec 28, 2004 9:34 am Post subject: 请教:普通用户切换的问题(Su)! |
|
|
不知到怎么了,我的普通用户突然之间,不可以切换到root了,我看了自己却实是wheel组的,
/etc/pam.d/的文件也没有问题! 可是Su到root的时候还是提示:
su: Authentication failure
Sorry.
请高手指点! |
|
Back to top |
|
 |
wangxiaohu Apprentice

Joined: 15 Nov 2003 Posts: 248
|
Posted: Wed Dec 29, 2004 11:25 pm Post subject: Re: 请教:普通用户切换的问题(Su)! |
|
|
cls-jz wrote: | 不知到怎么了,我的普通用户突然之间,不可以切换到root了,我看了自己却实是wheel组的,
/etc/pam.d/的文件也没有问题! 可是Su到root的时候还是提示:
su: Authentication failure
Sorry.
请高手指点! |
修改 /etc/login.defs :
|
|
Back to top |
|
 |
cls-jz n00b


Joined: 27 Dec 2004 Posts: 30
|
Posted: Thu Dec 30, 2004 7:06 am Post subject: 试了,还是不可以,提示一样! |
|
|
试了,还是不可以,提示一样!,嘛烦大侠了,谢谢,还有别的方法吗> |
|
Back to top |
|
 |
akar Bodhisattva

Joined: 03 Dec 2004 Posts: 348 Location: HKSAR,China
|
Posted: Thu Dec 30, 2004 3:52 pm Post subject: |
|
|
打錯了密碼嗎?
如果打錯root的密碼,同樣會出現一樣的報錯。
系統的 log 怎麼說? _________________ AKar |
|
Back to top |
|
 |
linky_fan n00b

Joined: 01 Jan 2005 Posts: 33 Location: Shanghai China
|
Posted: Sat Jan 01, 2005 8:02 am Post subject: |
|
|
cat一下/etc/securetty, 看看你当前su的那个终端在不在这个列表里,没有的话是不能su到root去的. _________________ Be yourself! |
|
Back to top |
|
 |
|