O.k., I was kind of busy the last two months.
My initial question was kind of missleading.
So lets try it again:
I have several users on my centOS5.5 server (user 2, user 3,etc.).
They all have their own home directory.
There is also the user root who can't log in, for the reasons described in post 1.
Last but not least there is user 1, who is in the wheel group. Once he has logged on he is able to become root.
But he is no admin, though. That was one of the missunderstandings in post 1, I think.
This user is the one, who I want to be able to have access to the other users home directories when logging on via SFTP (Filezilla).
I want to copy files into their home directory or delete them, if necessary.
If I create a group and add all users to this group, user 1 is still not able to access the other home directories.
I made user 1 root and tried your suggestion, kbp:
Check permissions 'ls -ld /home/user2' and see what the group permissions are. Something like 'drwx------ 2 user2 user2 ... ' shows that the group has no rights so you'll need to 'chmod -R g+rw /home/user2'.
I checked and you were right, the permissions were as you said.
But using the 'chmod -R g+rw /home/user2' command as root would only lead to the other users not being able to log in anymore (neither via PuTTY nor FileZilla).
How can I achieve my goal?
Maybe by creating a group and making user 1 Admin? Shouldn't he then be able to administer the other users directories? How do I do that?
As I understand your advice, kbp, it would give all users access to everybody's home directory, wouldn't it?
Or did you mean I have to let user 1 join a single group with every user separately?
I am really stuck, asked many friends who couldn't help, tried to read and understand some literature, but to no success
Anyones help is greatly appreciated