By info612125
Hello, i have a WordPress droplet, with 2 users. One is root, and another one i created.
This second one is sudoer too, but if i log in with FileZilla, i can’t go back in folders tree and navigate to /var/www
How can i enable this user to properly navigate only in /var/www and manage files?
Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
You’ll want to jail the user with a <a href=“http://en.wikipedia.org/wiki/Chroot”>chroot</a>. Here’s a good tutorial I found while Googling that should get exactly what you want done. Just change the directory and user to the appropriate ones you need. <br> <br>http://www.thegeekstuff.com/2012/03/chroot-sftp-setup/
You can use PROftpd with mysql back end: <br> <br>https://www.digitalocean.com/community/articles/how-to-set-up-proftpd-with-a-mysql-backend-on-ubuntu-12-10
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.