Control Web Panel
WebPanel => FTP => Topic started by: Starburst on November 09, 2022, 05:22:01 PM
-
OK, I'm actually stuck.
Does anyone know how to change/set the user directory for the Anonymous login?
Tried to change the home directory on the FTP user account, but nothing.
Thanks
-
I used to be a pure-ftpd jockey for 10 years, but then switched over to CrushFTP.
Not sure your exact needs, but you could create a group called nochroot or roamers (whatever you like) and put all non-anonymous FTP users in it that you want to be able to roam the filesystem freely:
ChrootEveryone no
# If the previous option is set to "no", members of the following group
# won't be caged. Others will be. If you don't want chroot()ing anyone,
# just comment out ChrootEveryone and TrustedGID.
TrustedGID 10
Or you could ChrootEveryone and set up symlinks in privileged subdirs that let those users break out of the chroot jail:
Symbolic links can be followed when users are chrooted, even when they are pointing out of the chroot jail. This unique feature makes shared content easy to set up.
-
Was trying to setup an FTP Anonymous for a mirror site.
Seems like CWP has the security locked down for this though.
-
Probably -- I didn't look at the build options for CWP's pure-ftpd. You'd probably have to re-build it yourself with the full selection of features. At this point, I'm only using sftp on my servers, and CrushFTP for a full-featured FTP/SFTP/web interface workgroup file sharing site.
-
I miss Serv-U and WS-FTP Server.
But that was Windows. And a long time ago in 2001. (OK, I'm old)
-
I started with ProFTPd, did a quick dabble with WS-FTP then pretty quickly jumped ship over to pure-ftpd. Lean, mean FTP in its purest form -- secure but lots of features. So I was glad to see it included with CWP as a bullet point, but as states I don't use FTP anymore (and have FTP running on an alternate port on only one server -- the better to avoid script kiddie scans).