I am new to system administration and I have a permission related query. I have a group called administration
. Inside the administration
group, I have the users user1
, user2
, user3
, superuser
. All the users are in the administration
group. Now, I need to give permissions to the user superuser
to be able to view the /home
directory of the other users. However, I do not want user1
, user2
, user3
to see the home of any other user other than himself. (That is, user1
should be able to see only user1
's home and so on).
I have created the users and groups and assigned all the users to the group. How should I specify the permissions for the superuser
now?
In other words, I'm thinking of having two groups (say NormalUsers
and Superuser
). The NormalUsers
group will have the users user1
, user2
and user3
. The Superuser
group will only have the user Superuser
. Now, I need the Superuser
to have full access on the files of users in the group NormalUsers
. Is this possible in Linux?