miami_g

Active Member
Dec 28, 2001
26
0
301
please let me know how to kill anon ftp for an entire server

thankyou and please be kind to newbie


el_g
 

miami_g

Active Member
Dec 28, 2001
26
0
301
anon ftp remains active, or appears to be after commenting out
the ftp entry in /etc/passwd

this what i have::

#ftp:x:14:50:FTP User: /home/ftp:

did i miss something?
 

Brownie

Well-Known Member
Aug 10, 2001
143
0
316
heres what I used to disable anon-ftp.

edit /etc/proftpd.conf

this is my&Anonymous&&/Anonymous&:

&Anonymous ~ftp&
UseFtpUsers on
RequireValidShell off

User ftp
Group ftp
# We want clients to be able to login with &anonymous& as well as &ftp&
#UserAlias anonymous ftp

&Limit LOGIN&
DenyAll
&/Limit&
# Limit the maximum number of anonymous logins
MaxClients 10

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message

# Limit WRITE everywhere in the anonymous chroot
&Limit WRITE&
DenyAll
&/Limit&

&/Anonymous&
 

cyon

Well-Known Member
PartnerNOC
Jan 15, 2003
314
0
241
hmm.. I've edited my proftp.conf like shown above but I can't still access as anonymous.

I see
bin
etc
lib
...
but I'd like that you can't see anything as anonymous.. is that possible?

thx,

dave.
 

eter4

Well-Known Member
Feb 16, 2002
56
0
306
What about just going into Tweak FTP settings and click on Disable Anon FTP
 

cyon

Well-Known Member
PartnerNOC
Jan 15, 2003
314
0
241
I did, but if I refresh, anon FTP is still enabled.. I can't disable it there.. ¿?
 

sexy_guy

Well-Known Member
Mar 19, 2003
847
0
166
Did you remember to restart proftpd?

/etc/rc.d/intit.d/proftpd stop

then

/etc/rc.d/init.d/proftpd start
 

cyon

Well-Known Member
PartnerNOC
Jan 15, 2003
314
0
241
hmm strange.. I've restarted proftpd in whm.. now I did it like you told me.. after proftpd stop I tried to connect per ftp and it worked perfect.. strange.. and I can still acces as anon..
 

cyon

Well-Known Member
PartnerNOC
Jan 15, 2003
314
0
241
hemm.. still strange: I switched to Pure-ftpd and disabled anon ftp.. status after restart: enabled... grr..
then I switched back to proftpd and disabled anon again. status: disabled.. huuh? cool!
but I can't although connect as anon.. the hell.. don't know whats wrong.. ?!
 

cyberwisdom

Well-Known Member
Jun 2, 2003
75
0
156
Did you get this resolved? I have the same freakin problem. I've tried everything you've tried and can still access the same folders you see.

The good thing is that some accounts were successfully disabled but there are still several that I can login via ANON FTP.

Let me know if you or someone found a fix.

Thanx...

cPanel.net Support Ticket Number:
 

elor

Active Member
Apr 20, 2003
32
0
156
In WHM,

If it show's disabled, enable it. Wait for ftp to restart, then disable it again.

I had the same - showed disabled but was enabled. This fixed it for me. (pureftp)

cPanel.net Support Ticket Number: