Disable ftp


 
Thread Tools Search this Thread
Operating Systems Solaris Disable ftp
# 1  
Old 02-03-2010
Disable ftp

HI all,

I am using Solaris 10 and would like to know if it possible to disable ftp use for a single entry in my /etc/hosts file.

Thanks
# 2  
Old 02-03-2010
not sure what you're asking. you want to disable the ability for a single host that resolves in your /etc/hosts file to not be able to ftp to your current system?
# 3  
Old 02-03-2010
You can totally disable ftp using svcadm disable ftp command for globally change ftp denial.
If you want ftp enabled on the system and restricted some hosts, for eg you can make use of the /.rhosts file
# 4  
Old 02-03-2010
Couldn't tell from the preceding posts whether you wanted to stop uploads or downloads (or both) relative to your server.

I don't think that you can disable ftp for a particular IP address on a unix system without using TCP/IP firewall software or an external TCP/IP firewall.

Off topic: On most unix systems you can disable outgoing ftp from your server for particular users by use of a "ftpusers" file. (See the man pages for ftp on your system. Be prepared to write an "everybody except" script to seed the "ftpusers" file).
# 5  
Old 02-06-2010
I suppose that you would like to disable FTP connection from one from one IP address in /etc/hosts ?? I suppose that the most elegant way will be use ipfilter. By this way you can "lock" single IP before using certain local service.
# 6  
Old 02-07-2010
ipfilter is the in-built firewall provided by Solaris OS.
You can download this pdf and refer to this:-
http://learningsolaris.com/docs/ipf_howto.pdf
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Disable create subdirectory Solaris 8 ftp

Running Solaris 10. For FTP users or groups, I want to prevent them from creating new subdirectories, but I still want to allow them to create, upload, download files from the subdirs. I understand how to set the general file/directory permissions -- read, write, execute. So for a directory,... (0 Replies)
Discussion started by: themonman
0 Replies

2. HP-UX

Disable GSSAPI when using an FTP client?

We have two HP-UX machines, both are B.11.31. When I FTP from the HP-UX boxes to a remote IBM server,- HP-UX 1: Connected to xxxx. 220-FTPD1 IBM FTP CS V1R12 at R2, 12:24:39 on 2013-08-30. 220 Connection will close if idle for more than 15 minutes. Name (xxxx:user): HP-UX 2:... (2 Replies)
Discussion started by: CaptNemo
2 Replies

3. HP-UX

[Solved] Unable to rename file in ftp server .Net:FTP perl

Hello All, I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir. rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed. Can some body help me to... (2 Replies)
Discussion started by: krsnadasa
2 Replies

4. Red Hat

SSL/TLS renegotiation DoS -how to disable? Is it advisable to disable?

Hi all Expertise, I have following issue to solve, SSL / TLS Renegotiation DoS (low) 222.225.12.13 Ease of Exploitation Moderate Port 443/tcp Family Miscellaneous Following is the problem description:------------------ Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

5. HP-UX

FTP service Enable/Disable

hi everybody, I can easily enable /disable the FTP service from SAM, how can I do this via command line? using inetd? how? cheers, messi (1 Reply)
Discussion started by: messi777
1 Replies

6. Shell Programming and Scripting

How to disable Enable/Disable Tab Key

Hi All, I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:( Thanks, Rico (1 Reply)
Discussion started by: carnegiex
1 Replies

7. AIX

FTP access disable in AIX

Hello, I have AIX machine communication to mainframe machine. From AIX machine, i have to use always SSH communication. For this, i have created SSH tunnel in AIX machine and using FTP with SSH. Now both connections are working: 1) only FTP to mainframe machine 2) create SSH and do FTP... (3 Replies)
Discussion started by: balareddy
3 Replies

8. UNIX for Advanced & Expert Users

Using FTP to check whether file is completely FTP... plz find the description below

Hi, We have some clients who will place huge files in to one of the remote server. And the shell script written in our local server to retrieve client files (using FTP) placed on one of the remote server of ours by clients. My question Is there any FTP command/script to check from my local... (1 Reply)
Discussion started by: nmsrao
1 Replies

9. UNIX for Advanced & Expert Users

Disable ftp on web browser

Hi there, how can i disable the possibility of accessing hp-ux with ftp in the web browser? is there any way to do this? thanks (2 Replies)
Discussion started by: vascobrito
2 Replies

10. UNIX for Dummies Questions & Answers

Disable anonymous ftp????

How do i disable anonymous ftp on a unix system?????? Please help!!!!!!!1 (2 Replies)
Discussion started by: rrivas
2 Replies
Login or Register to Ask a Question

Featured Tech Videos