Sample Header Ad - 728x90

Giving users Shell access with heavy restrictions

0 votes
1 answer
614 views
I am developing an in-house file-sharing system like Google Drive/Dropbox with very restricted shell access to users' own folder. The users have to be able to use mv ssh ls cd commands to access and navigate their own folders, also some users would be able to run gcc to compile their own program (But they are not allowed to run the programs they compiled). The only problem is I don't want people roaming around in system files or modifying system settings/variables. First I thought maybe using containers/BSD Jails might be the solution but given that this system might have over 300 users, It adds unnecessary complexity and overhead. What solutions are there on the open wild Internet? Thanks!
Asked by user396583
Jul 1, 2020, 10:59 AM
Last activity: Jul 1, 2020, 12:39 PM