Author Topic: Change home directory for anonymous login  (Read 3731 times)

0 Members and 1 Guest are viewing this topic.

Offline
*****
Change home directory for anonymous login
« 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

Offline
*****
Re: Change home directory for anonymous login
« Reply #1 on: January 22, 2023, 06:14:23 AM »
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:

Code: [Select]
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:
Quote
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.

Offline
*****
Re: Change home directory for anonymous login
« Reply #2 on: January 22, 2023, 12:09:06 PM »
Was trying to setup an FTP Anonymous for a mirror site.

Seems like CWP has the security locked down for this though.

Offline
*****
Re: Change home directory for anonymous login
« Reply #3 on: January 22, 2023, 06:13:17 PM »
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.

Offline
*****
Re: Change home directory for anonymous login
« Reply #4 on: January 22, 2023, 10:08:20 PM »
I miss Serv-U and WS-FTP Server.
But that was Windows. And a long time ago in 2001. (OK, I'm old)

Offline
*****
Re: Change home directory for anonymous login
« Reply #5 on: January 23, 2023, 12:55:21 AM »
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).