New answers tagged chroot
It's simple: if named is running with -t <directory> flag, then it's chrooted. Otherwise - it's not.
You've started off correctly. The line you have added needs to contain all the commands, exactly as they should be typed, separated by commas. You might also want to have the user NOT have to enter their password each time they use sudo, but that's up to you: %web ALL=(ALL) NOPASSWD: service httpd restart, apachectl status, apachectl reload These are just ...
You can use the bind option of mount to remount the other folder so the FTP server sees the files as being within the root of the website. ...You could mount /home/shared/files/ under /home/website/files/ like this. Create a mount point ( a directory ) in /home/website mkdir /home/website/files/ Mount the other directory under this mount point mount ...
After too much time spending and no luck, I have decided to move the websites to another webserver and scrap this server since the devs can't access it anymore through sftp. Thank you everyone for their help. Vaneet
Top 50 recent answers are included