On Wed, Oct 10, 2001 at 06:58:06PM +0200, pirmin2 wrote:
ls -ld /home
drwxrwxrwx 11 root users 4096 Oct 8 23:55 /home
That shouldn't be a problem, but /home is normally owned by
root.staff with permissions 2775 (rwxrwsr-x). With your current
permissions, anyone could create new directories under /home, which
is generally not a good thing unless you're the system's only user.
ls -las /home
total 120 4 drwxrwxrwx 11 root users 4096 Oct 8 23:55 .
60 drw-rw---- 24 root root 57344 Oct 10 18:46 ..
The "total 120" includes the 60 from the parent directory. Adding
that to the rest of the entries should give about the right number of
blocks used.
4 drwxrwxrwx 2 root root 4096 Jun 7 20:16 .xvpics
4 drwxrwxrwx 4 root users 4096 Aug 8 00:39 KDE
Again, unless this is a single-user box, all the mode 777 directories
are troubling.
12 drw-rw---- 77 avh avh 12288 Oct 7 03:05 avh
User avh doesn't work because nobody has permission to enter his home
directory - including himself. `chmod ug+x /home/avh` should fix this.
4 drwxrwxrwx 2 1002 root 4096 Oct 6 23:52 mcr
4 drwxr-xr-x 2 1004 test 4096 Oct 8 23:07 test
4 drwxr-xr-x 2 1005 test2 4096 Oct 8 23:55 test2
The numbers listed for owner on these directories mean that the
owning user no longer exists. I don't recall whether they were on
your 'users who can't log in' list, but you generally can't log in if
you don't exist...