I created new user:
adduser tchuck passwd tchuck
and now; I want this user to see only one directory that; /var/www/public_html/mysite.com
I used that method: usermod --home /var/www/mysite.com/public_html tchuck
buy when I login with ftp, i can get back to parent directories. I just want this user, to see only mysite.com/ as a parent.
How can I make it?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!