Need to create a new user
Hey LQ,
I need to permit a graphic designer to access a specific directory with read and write privileges to /var/www/html/subdomains/design. Is there a simple command that will do exactly this? |
Do you want this user to be able to see the rest of the filesystem? Read and write to it? Is there anything you want to keep private?
If you don't mind that they see and interact with your entire system, then just set up a regular user account and make sure it has read/write access to the necessary directory. If you don't want them to be able to see/access anything on the system except that one directory, then set up a chroot jail for the user and "mount --bind" the necessary directory into the jail. |
Quote:
|
Look into jailkit. The basic steps are (taken from my notes the last time I set one up):
Code:
tar xaf jailkit-2.17.tar.gz This will give them access to a basic shell, and if you "mount --bind" the design directory into their home directory in the jail they should have access to those files as well. You may need to "jk_init -j" some more utilities if they need them, such as text editors, etc. Most of these steps are taken verbatim from their documentation. |
All times are GMT -5. The time now is 07:09 AM. |