Results 1 to 2 of 2
Hi everyone, I am new to RHLE and I need some quidance. I figured out how to create a user account, set password and add the user to certain groups ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-20-2009 #1
- Join Date
- Aug 2009
- 08-20-2009 #2
You do not set file and directory permisions to a user.
Itīs the other way round.
Every file/directory has
- a user / group
- user/group/other permissions -> rwx rwx rwx
Please take a look at this webpage-directory.
- what group is set there?
and does the group have
- read/write/execute permissions on all directories
- read/write permissions on all files
then add you user to that group.
I understand, that this is a already running system.
i.e. other users can already read/write in that webpage-directory?
So changing permissions on files/dirs ist most likely wrong.
Take a look on the groups of these other users, too.
Note: there is a primary group for every user, that is determined by the groupid (gid) in /etc/passwd.
And there are also additional group definitions in /etc/group