|
permissions for /etc/passwd, etc
On my system (ubuntu 6.06, no NFS):
-rw-r--r-- 1 root root 1046 2006-06-08 21:57 /etc/group
-rw-r----- 1 root shadow 918 2006-06-08 21:56 /etc/gshadow
-rw-r--r-- 1 root root 1477 2006-06-08 21:57 /etc/passwd
-rw-r----- 1 root shadow 1022 2006-06-08 21:56 /etc/shadow
Not sure about PAM refusing to accept 0777, but it seems quite logical. There should be quite a few other sensitive files that should be protected, but those four should be enough for simple authentication.
I believe you must also disable root_squash in NFS.
Hope this helps.
Joćo
|