I'm trying to find a way to give some colleagues from the support department SSH access to perform some tasks for users.
I was thinking of giving extra privileges to the admin user, which the colleagues can use. I don't want to give access rights.
For example I want the admin user to set the correct permission for user folders, move files, rsync, (s)ftp, etc. A lot of features are already possible in the GUI, but some actions are better to perform by SSH.
Ideally I want them to have access to the /home directory for all users, but I did not manage to get that working (I checked this: https://unix.stackexchange.com/ques...ew-the-home-directory-of-other-users-via-sudo).
Another idea is adding the admin user to the groups of the user accounts and using su to login as the end-user, but since every DA user has his own group, I have to add every group to the admin user. Also not ideal.
What would be the best way for this? I really don't want to give root access.
I was thinking of giving extra privileges to the admin user, which the colleagues can use. I don't want to give access rights.
For example I want the admin user to set the correct permission for user folders, move files, rsync, (s)ftp, etc. A lot of features are already possible in the GUI, but some actions are better to perform by SSH.
Ideally I want them to have access to the /home directory for all users, but I did not manage to get that working (I checked this: https://unix.stackexchange.com/ques...ew-the-home-directory-of-other-users-via-sudo).
Another idea is adding the admin user to the groups of the user accounts and using su to login as the end-user, but since every DA user has his own group, I have to add every group to the admin user. Also not ideal.
What would be the best way for this? I really don't want to give root access.