How to set users parameters
have redhat 8.0 on my machine and if i log in as any user other than root the system tells me that "no /home/$user" directory ,but if i log as root and check the home directory, i find that the users are there .how can i handle this problem ??.
thanks a lot |
What are the permissions on users's home directory and on /home itself?
cheers Jamie... |
the permissions on /home/user are 777 and still not get the user "user" able to log in either localy or by telnet. can it be a problem of login shell set to no login ??.
best regards |
And what about the perms on /home?
Jamie... |
Try (as root):
chmod 754 /home chmod 754 /home/username (for each username) If /home is not readable (execute permission on the directory) by the user, I don't think it'll let anyone login. It's probably not a good idea to use chmod 777 on anything. You don't want just anyone in the world writing/deleting stuff in your home directory :) |
I would have said 711 or 755 for /home and 700 for /home/user unless you want either your group or anyone to list your directory contents. You need at least 711 on /home/user if you are planning to use anything like a public_html directory.
cheers Jamie... |
True, 711 would probably be better. I guess it's a matter of preference, or how secure you need the machine to be. For a home machine with only a couple users, allowing other users to read your home dir might be ok.
|
All times are GMT -5. The time now is 10:53 PM. |