3 Questions:
A.
Quote:
|
Originally Posted by briantan
Easy.
1. Add userid to chroot_list (ref. your current vsftpd.conf)
2. Create html / www directories in user's home directory
3. Make userid write accessible to html / www directories
4. Reference the html / www directories in httpd.conf
|
So, what you're saying is that, if I want Core FTP LE to, upon login, display the subdirectories:
.cpanel
.htpasswds
.sqmaildata
access-logs
etc
mail
public_ftp
public_html
tmp
www
...I mentioned, then I'm going to have to make related changes to my httpd.conf and this makes such an Apache issue/question which should be deligated to another forum (say, the one on "servers")?
B. Regarding:
Code:
-A INPUT -m state --state NEW -m tcp -p tcp --sport 1024: --dport sssss:ttttt -j ACCEPT
...in /etc/sysconfig/iptables, "sssss" & "ttttt", for me, are identical ("Range of 1"

). Yet, still, they represent an open port and, therefore, a security risk.
So, what's to stop some one from hacking my f9 via that port?
C. If a hacker hacks into my ftp service, then I would want him/her to be restricted to only that list of subdirectories:
Quote:
.cpanel
.htpasswds
.sqmaildata
access-logs
etc
mail
public_ftp
public_html
tmp
www
|
...listed, above.
How do I do that?
- j