Solaris ftp connects out svc disabled.


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris ftp connects out svc disabled.
# 1  
Old 11-04-2014
Solaris ftp connects out svc disabled.

Hi,
Running ftp
online 2:53:02 svc:/network/ftp:default

If I disable ftp
disabled 2:54:00 svc:/network/ftp:default

I can still SEND ftp files out.
I cannot connect to this server via FTP, but why can I still connect to other ftp servers and send files?

Cheers.
# 2  
Old 11-04-2014
The same reason locking your mailbox shut doesn't stop everyone else from getting mail.
# 3  
Old 11-05-2014
Quote:
Originally Posted by RedWizard75
I cannot connect to this server via FTP, but why can I still connect to other ftp servers and send files
Well, you disabled the FTP service/server/daemon.

Disabling FTP server does not disable the FTP client.
# 4  
Old 11-05-2014
If you are running Solaris 11 and if you really want to remove the ftp client, you can simply run:

Code:
pkg uninstall network/ftp


With Solaris 10 and older, that would be:
Code:
pkgrm SUNWbip

However, the latter command will unfortunately also remove the ping command.

Of course, you can also remove or make unreadable the ftp binary.

If you want to protect from standard ftp traffic, the proper way is to set-up a firewall.
# 5  
Old 11-05-2014
Quote:
Originally Posted by jlliagre
...

Of course, you can also remove or make unreadable the ftp binary.

...
Be real careful changing permissions of system-supplied binaries on Solaris. Solaris often uses the same binary hard-linked with multiple names.

Try running this:

Code:
find / -inum `ls -i /usr/bin/mdb | awk '{ print $1 }'`

That will find all the names that are the same binary that is used as "mdb". I've seen way too many things like "hardening guidelines" for Solaris that miss this. They tell you to chmod mdb to something like 600 and wind up breaking everything that runs ksh.

And if you know what you're doing it doesn't even remove access to "mdb"...
# 6  
Old 11-05-2014
Quote:
Originally Posted by achenle
Be real careful changing permissions of system-supplied binaries on Solaris. Solaris often uses the same binary hard-linked with multiple names.
That is correct and indeed a good advice. Note however that this issue doesn't affect ftp which is a standalone binary with Solaris, something unlikely to change.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Solaris 11 ipadm show-if disabled

Hi exports, I have a T4 with 4 port internal NIC which 2 ports are active and, external one with 4 ports as well with only 2 ports active. So the total of the ports are 4 out of 8. I have created an link aggregation called gnic0 with ports net0, net1, net6 and, net7 in it. I also created a... (0 Replies)
Discussion started by: afadaghi
0 Replies

2. Homework & Coursework Questions

C/C++ program that connects to a MySQLserver

Hi Programming Geeks, I got an interesting C++ and MySQL problem to solve. I was unable to do this as I am not much confident on MySQL DB. Please have a go at it if possible. Write a C/C++ program that connects to a MySQLserver and checks if the InnoDB plug-in is installed on it. If so,... (5 Replies)
Discussion started by: vivek.goel.piet
5 Replies

3. Solaris

svc:/network/physical:default: Method "/lib/svc/method/net-physical" failed with exit status 96. [ n

After a memory upgrade all network interfaces are misconfigued. How do i resolve this issue. Below are some out puts.thanks. ifconfig: plumb: SIOCLIFADDIF: eg000g0:2: no such interface # ifconfig eg1000g0:2 plumb ifconfig: plumb: SIOCLIFADDIF: eg1000g0:2: no such interface # ifconfig... (2 Replies)
Discussion started by: andersonedouard
2 Replies

4. Shell Programming and Scripting

In real time - what user connects or disconnect

Write a tool that will be displayed in real time, what user connects or disconnects from a system that uses this tool :)) Maybe anyone can help me? (2 Replies)
Discussion started by: titasas
2 Replies

5. Solaris

svc Errors on OS startup

I'm having these weird errors. svc.configd: Fatal error: Backend copy failed: fails to read from /etc/svc/repository.db at offset 106496: Bad file number svc.configd: Fatal error: unable to create "boot" backup of "/etc/svc/repository.db" Mar 10 13:04:23 svc.startd:... (5 Replies)
Discussion started by: adelsin
5 Replies

6. Filesystems, Disks and Memory

SDD for SVC on HP-UX and LINUX

Hello Unix Admins: Has any one in this distribution list implemented SVC (SAN Volume Contoller - A solution from IBM) in your environment? If you have, do you have any do's / don'ts? Anything which you like sharing would be really appreciated. For example, my inputs: I tried implementing... (1 Reply)
Discussion started by: kdossjojo
1 Replies

7. UNIX for Advanced & Expert Users

how does editplus connects to unix server

hi all i am working on a monitoring script for my server... i am able to monitor all the explicit sessions ... the problem arises when some one is using editplus to modify a file in the server .. the unix server is not showing the edit plus access as a session ... how to monitor the actions... (3 Replies)
Discussion started by: sais
3 Replies

8. Shell Programming and Scripting

FTP script to FTP file to UNIX - Solaris

Hello, A couple of times per week, i receive emails notifications when files are available for processing. Currently i read these eamails with a java program and store the attachement on my C: drive and would now like to generate a PC script to send this file name up to UNIX-Solaris and... (3 Replies)
Discussion started by: bobk544
3 Replies

9. Solaris

solaris 10: add new svc

Hi guys, I want to add a new 'service' to Solaris 10. Does anyone have any documentation that tells how to do that? I have gone through a bunch of stuff on the net that tells how to enable, disable services, find whats wrong with a service and so on. All conveniently skip mention of how to... (6 Replies)
Discussion started by: blowtorch
6 Replies
Login or Register to Ask a Question