Web Hosting Talk







View Full Version : Turning off anonymous FTP?


SuperDon
10-13-2001, 10:36 AM
Hi,

Can anyone advise me how to turn off anonymous FTP on my sever? I have not allowed any accounts to have this but I want to make sure its completley locked.

Thanks.

Gunzour
10-13-2001, 09:49 PM
This depends on what ftp server you are running. You can probably do it by changing the ftp user's home directory to /bin/false (or /bin/true). If you are using proftpd, look for the configuration file proftpd.conf and make sure it is turned off there.

NetXL
10-13-2001, 10:12 PM
If you have ProFTPD installed, you were probably asked on install if you wanted anon. ftp or not. However you might want to check, look in your proftpd.conf file, usually in /etc/ and it should have this

# A basic anonymous configuration, no upload directories.

## <Anonymous ~ftp>
## User ftp
## Group nogroup
## # We want clients to be able to login with "anonymous" as well as "ftp
........ (more stuff).........
## # <Limit READ WRITE>
## # DenyAll
## # </Limit>
## # <Limit STOR>
## # AllowAll
## # </Limit>
## # </Directory>
##
## </Anonymous>


If that block of text doesn't have the ##'s in front then you have anon. ftp enabled. You should just be able to delete between (and including) the <Anonymous> and </Anonymous> tags.

But if you aren't using ProFTPD well then that up there means nothing :stickout Also I don't know if this works on a shared server, :) I'm just going by what config I have on my little box in the cupboard.

Seeya,

SuperDon
10-14-2001, 05:07 AM
Hi,

Thanks a lot - it looks ike its already disabled from what you were saying.

Cheers.