I need to stop people from ftp'ing to my servers ip and i cannot find any options in WHM to close this. It can be controller on a per user account bases but howabout when there are no accounts on the box, where is this option set?
Thanks
I need to stop people from ftp'ing to my servers ip and i cannot find any options in WHM to close this. It can be controller on a per user account bases but howabout when there are no accounts on the box, where is this option set?
Thanks
Log into WHM on port 2087 as such:
https://yourdomainc.om:2087
In the section entitled: Server Setup
you will see a link to: Service Manager
Uncheck the button next to &proftpd&
this will disable FTP on your server.
Q: "I heard if you play the NT-CD backwards, you get a satanic message."
A: "That's nothing, if you play it forward, it installs NT"
[quote:3fcdd6cd35][i:3fcdd6cd35]Originally posted by ozzi4648[/i:3fcdd6cd35]
I need to stop people from ftp'ing to my servers ip and i cannot find any options in WHM to close this. It can be controller on a per user account bases but howabout when there are no accounts on the box, where is this option set?
Thanks[/quote:3fcdd6cd35]
anonymous ftp access to IP addresses which haven't been assigned to an account are disabled by default in Cpanel
It means if you use an IP address for HTTP access and you see &Hey it worked page& you can't login with anonymous user by using that IP
Please use messengers to contact me:
MSN: patrickay@msn.com
AIM: PatrickITF
[quote:ddf6e7a55b][i:ddf6e7a55b]Originally posted by itf[/i:ddf6e7a55b]
[quote:ddf6e7a55b][i:ddf6e7a55b]Originally posted by ozzi4648[/i:ddf6e7a55b]
I need to stop people from ftp'ing to my servers ip and i cannot find any options in WHM to close this. It can be controller on a per user account bases but howabout when there are no accounts on the box, where is this option set?
Thanks[/quote:ddf6e7a55b]
anonymous ftp access to main-server-ip address is disabled by default in Cpanel[/quote:ddf6e7a55b]
Actually it isn't. If i setup my client anonymous then ftp directly to my ip i get in without a problem. The question is how do you turn this off. This is not right!
[quote:655167179b][i:655167179b]Originally posted by MrHits[/i:655167179b]
Log into WHM on port 2087 as such:
https://yourdomainc.om:2087
In the section entitled: Server Setup
you will see a link to: Service Manager
Uncheck the button next to &proftpd&
this will disable FTP on your server.
[/quote:655167179b]
Huh! I dont want to disable FTP across the entire server. Doing this will just CLOSE ftp for everyone!
[quote:cd2be40272][i:cd2be40272]Originally posted by ozzi4648[/i:cd2be40272]
[quote:cd2be40272][i:cd2be40272]Originally posted by itf[/i:cd2be40272]
[quote:cd2be40272][i:cd2be40272]Originally posted by ozzi4648[/i:cd2be40272]
I need to stop people from ftp'ing to my servers ip and i cannot find any options in WHM to close this. It can be controller on a per user account bases but howabout when there are no accounts on the box, where is this option set?
Thanks[/quote:cd2be40272]
anonymous ftp access to main-server-ip address is disabled by default in Cpanel[/quote:cd2be40272]
Actually it isn't. If i setup my client anonymous then ftp directly to my ip i get in without a problem. The question is how do you turn this off. This is not right![/quote:cd2be40272]
[b:cd2be40272]What I wrote is true but Unfortunately you haven't understood it:
I wrote main server IP address then refined my post to discuss it:[/b:cd2be40272]
[quote:cd2be40272][i:cd2be40272]Originally posted by itf[/i:cd2be40272]
anonymous ftp access to IP addresses which haven't been assigned to an account are disabled by default in Cpanel
It means if you use an IP address for HTTP access and you see &Hey it worked page& you can't login with anonymous user by using that IP[/quote:cd2be40272]
It's clear if you offer anonymous ftp access for an account and if it has an IP address, you can login with anonymous user via that IP address
Also [b:cd2be40272]if you want to disable anonymous ftp access to your server:[/b:cd2be40272]
Find these lines at global section of [b:cd2be40272]/etc/proftpd.conf[/b:cd2be40272] and apply changes as shown in bold text, then restart proftpd:
# A basic anonymous configuration, no upload directories.
&Anonymous ~ftp&
UseFtpUsers on
RequireValidShell off
User ftp
Group ftp
# We want clients to be able to login with &anonymous& as well as &ftp&
[b:cd2be40272]# UserAlias anonymous ftp[/b:cd2be40272]
&Limit LOGIN&
AllowAll
&/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&
Please use messengers to contact me:
MSN: patrickay@msn.com
AIM: PatrickITF
[i:65b52ea361]Originally posted by ozzi4648[/i:65b52ea361]
& I need to stop people from ftp'ing to my servers ip and i cannot find any options in WHM to close this. It can be controlled on a per user account basis but how about when there are no accounts on the box, where is this option set?
Are you trying to stop people uploading files or are you trying to stop them logging in anonymously, or both?
[quote:c7b3dd915a][i:c7b3dd915a]Originally posted by moronhead[/i:c7b3dd915a]
[i:c7b3dd915a]Originally posted by ozzi4648[/i:c7b3dd915a]
& I need to stop people from ftp'ing to my servers ip and i cannot find any options in WHM to close this. It can be controlled on a per user account basis but how about when there are no accounts on the box, where is this option set?
Are you trying to stop people uploading files or are you trying to stop them logging in anonymously, or both?[/quote:c7b3dd915a]
read the title of his/her post: &How do you close anonymous FTP?&
It is what I answered above
refer to this post : http://forums.cpanel.net/read.php?TID=4954page=1#21406
Please use messengers to contact me:
MSN: patrickay@msn.com
AIM: PatrickITF
duplicate post
Please use messengers to contact me:
MSN: patrickay@msn.com
AIM: PatrickITF
[quote:20c181a82d][i:20c181a82d]Originally posted by itf[/i:20c181a82d]
[quote:20c181a82d][i:20c181a82d]Originally posted by ozzi4648[/i:20c181a82d]
[quote:20c181a82d][i:20c181a82d]Originally posted by itf[/i:20c181a82d]
[quote:20c181a82d][i:20c181a82d]Originally posted by ozzi4648[/i:20c181a82d]
I need to stop people from ftp'ing to my servers ip and i cannot find any options in WHM to close this. It can be controller on a per user account bases but howabout when there are no accounts on the box, where is this option set?
Thanks[/quote:20c181a82d]
anonymous ftp access to main-server-ip address is disabled by default in Cpanel[/quote:20c181a82d]
Actually it isn't. If i setup my client anonymous then ftp directly to my ip i get in without a problem. The question is how do you turn this off. This is not right![/quote:20c181a82d]
[b:20c181a82d]What I wrote is true but Unfortunately you haven't understood it:
I wrote main server IP address then refined my post to discuss it:[/b:20c181a82d]
[quote:20c181a82d][i:20c181a82d]Originally posted by itf[/i:20c181a82d]
anonymous ftp access to IP addresses which haven't been assigned to an account are disabled by default in Cpanel
It means if you use an IP address for HTTP access and you see &Hey it worked page& you can't login with anonymous user by using that IP[/quote:20c181a82d]
It's clear if you offer anonymous ftp access for an account and if it has an IP address, you can login with anonymous user via that IP address
Also [b:20c181a82d]if you want to disable anonymous ftp access to your entire server:[/b:20c181a82d]
Find these lines at global section of [b:20c181a82d]/etc/proftpd.conf[/b:20c181a82d] and apply changes as shown in bold text, then restart proftpd:
# A basic anonymous configuration, no upload directories.
&Anonymous ~ftp&
UseFtpUsers on
RequireValidShell off
User ftp
Group ftp
# We want clients to be able to login with &anonymous& as well as &ftp&
[b:20c181a82d]# UserAlias anonymous ftp[/b:20c181a82d]
&Limit LOGIN&
AllowAll
&/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&
[/quote:20c181a82d]
Thanks alot. So howabout when we create user sites, will they still be able to select anon ftp to their sites or was this change a system wide change?
itf, I hope you are checking your theories thoroughly before posting them.
Because if you make the change you've suggested in /etc/proftpd.conf people can still log in to the server IP AND any other anon ftp account on the server with user name: [b:8d0d2a9e69]ftp[/b:8d0d2a9e69] and password: [b:8d0d2a9e69]any_password[/b:8d0d2a9e69].
The only way ozzi4648 will be able to close the loophole, assuming there are no accounts on the server that he wants to have anon ftp, is adding:
ftp
to /etc/ftpusers !
There was a reason why I posed my question to ozzi4648. :-)
[quote:b04a15c641][i:b04a15c641]Originally posted by ozzi4648[/i:b04a15c641]
Thanks alot. So howabout when we create user sites, will they still be able to select anon ftp to their sites or was this change a system wide change?[/quote:b04a15c641]
If you no longer want anyone has anonymous access you can comment out ftp entries from /etc/proftpd/username & /etc/proftpd/passwd.vhosts
Please use messengers to contact me:
MSN: patrickay@msn.com
AIM: PatrickITF
I guess you have more flexibility with Cpanel but it does pose a major problem. All i wanted to do was disable these ftp peddlers, who we dont even know, logging in our server by ftp'ing to our ip. Now on our Ensim boxes this is strictly not allowed however when we create the users account we can give them the option to allow anon ftp if they wish. Telnet is another issue however we have already closed this permanetly.
itf, please read my previous post once more.
Because if you take the ftp user out from the password file you can still login anonymously with user name: ftp and password: any_password.
The most secure solution is adding the ftp user to /etc/ftpusers. But that closes all anon ftp logins.
Norman, you are right it is possible to add ftp in /etc/ftpusers
Please use messengers to contact me:
MSN: patrickay@msn.com
AIM: PatrickITF