sharing same user id or using groups possible?
Announcement
Collapse
No announcement yet.
Multiple users SFTPing into same home dir with CageFS?
Collapse
X
-
Hi,
On a CageFs server using Litespeed, I would like to be able to allow multiple SFTP users with different usernames/passwords be able to login to the same /home/user directory and have read/write access.
Any thoughts on the feasibility or obvious issues with either of these two approaches?:
1) Using the same user id for multiple users, via the useradd --non-unique option. Seems like it would be the easiest approach though not sure if abusing the userid like this could lead to unstable behavior.
2) Using Groups - adding users to groups and the group is the CageFS "user". I guess would need to have multiple groups using setfacl such as group "nobody" is needed for some files. Am guessing this approach is not possible or likely to work.
It will take me some time to try out & fully test both approaches so any insight is appreciated!
John
Comment