I would like to create users that are subordinate to another user in Linux. By this I mean I want the superior user to be related to the subordinate users in two ways:
- The superior user must be able to access all files of subordinate users with the same permissions they have
- The superior user must be able to
suto these subordinate users without entering those users passwords, similar to how root can
suto any user that has a login shell
Is this possible? If so, how? I know I can manage the first thing with groups, but the second is actually the more important one.
I've been searching around a bit for a solution but I haven't been able to find one. I'm not sure if that means it can't be done/is really obscure or I just don't have the right words to put to it.