|
|

楼主 |
发表于 2006-3-20 19:23:58
|
显示全部楼层
我在普通用户下用sudo mount /mnt
显示:
xxx@xxx $ sudo mount /mnt
sudo: can't open /etc/sudoers: Permission denied
xxx@xxx $ sendmail: Cannot open mail: 25 #这个是自动出现的
# 然后就停在这个位置
然后我用root改变/etc/sudoers的属性
# chmod o+x /etc/sudoers
再回到普通用户执行:
xxx@xxx $ sudo mount /mnt
这回显示:/etc/sudoers mode is 0441, should be 0440
在root下查过了,去掉o+x后,/etc/sudoers 的mode就0440,就是说chmod不能解决问题。
现在应该怎么解决? |
|