Turning in.ftpd on and off


 
Thread Tools Search this Thread
Operating Systems Solaris Turning in.ftpd on and off
# 1  
Old 03-17-2008
Turning in.ftpd on and off

For two straight days someone was running in.ftpd in my server (apparently looking to break in) and when I would do "top" almost every line would read "in.ftpd". I had a unix sysadmin friend of mine shut it down and then start it back up in a day and a half and all seems OK for now.
Here's what I read in order to do this in.ftpd shutdown myself and not have to call on my friend. Is this correct as shown below?

First, decide which service you want to turn off. For the sake of discussion, call it chargen.
su. Enter your root password.
pico/etc/inetd.conf (or use your favorite editor).
Search for chargen (at the beginning of a line).
Comment this line, by inserting a "#" character at the beginning of the line.
Save this file (/etc/inetd.conf), and exit your editor.
Next, we have to tell inetd to reread /etc/inetd.conf. The way of doing this varies from UNIX variant to the next. Some of the ways are described below.
Solaris 2
ps -ef | grep inetd
You can expect to see output like:
root 140 1 0 Aug 19 ? 0:02 /usr/sbin/inetd -s
root 24366 816 0 09:21:03 pts/7 0:00 grep inetd
The line ending in inetd is the line that identifies the pid (or "process id") of inetd. The second column is the pid number itself, or in this case, 140. Ignore the line ending with the grep inetd; it's part of the command that you just issued.
kill -HUP 140 (be sure to fill in the pid from step 3 - don't just use 140 unless that's what your ps -ef | grep inetd identified too)


Thanks for any advice, help, or feedback.
# 2  
Old 03-17-2008
It seems ok, but since this is posted in the solaris forums you could be running Solaris 10 wich uses a different method for controling inetd.

inetadm is the command to use

(check the syntax with man inetadm)

This is only true for Solaris 10

/Peter
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Ftpd alarms

Hi, I am facing following alarms in var/adm/messages after an interval of 10 mins. I dont know what the impact is and how can i fix it. Can anyone help please? Dec 4 07:50:03 hxcsvc-a01 ftpd: open_module: stat(/usr/lib/security/pam_unix_session.so.1) failed: No such file or directory Dec ... (4 Replies)
Discussion started by: sni_engineer
4 Replies

2. Solaris

FTPD ls problem on Sol10

Hey guys, i'm pretty sure this is simple enough so i'll go quick. I must be missing something but can't pinpoint it. NOTE: Yes, i should be using proftpd but the architect team is a pain in the butt and it is not possible right now. Sol10 FTP server (zoned) MS vista ftp client. Login... (1 Reply)
Discussion started by: maverick72
1 Replies

3. Solaris

issues with wu-ftpd 2.6.2 on solaris 9

Hihi, Anyone have encountered any issues with wu-ftpd on solaris 9. There are intermitten error msg 425 can't build data connection with doing ls or get or put files. I have did a sniff and from the sniffer logs I found that the FTP traffic is not using the standard protocol to... (0 Replies)
Discussion started by: ahkimkia
0 Replies

4. Linux

wu-ftpd

Hello everyone! I looking for wu-ftpd latest rpm or sorce package. Anyone have idea where i can find? I need to install on Centos 5. please help. -thanks, :) (4 Replies)
Discussion started by: email-lalit
4 Replies

5. UNIX Desktop Questions & Answers

how to check if a file ftpd to mainframe was actually ftpd

Hi All, I am ftping a file from unix to mainframe. Now the problem arises that i want to check if the file was ftpd or not. Is there any way i could do this? (4 Replies)
Discussion started by: vikas.rao11
4 Replies

6. UNIX for Dummies Questions & Answers

Standalone FTPD within SMF

Hello We are trying to run the WU_FTPD demon in standalone mode (-S argument) via an SMF service. Prior to SMF, this was achieved by simply commenting out the FTP line within the inetd.conf file. However, within SMF, I believe we need to carry out the following activities: i) Remove the FTP... (0 Replies)
Discussion started by: CowsUdders
0 Replies

7. Linux

Setting up Wu-FTPD server

Hey, I'm running RH 7.1 and i want to beable to swap files back and from it. I've got Wu-ftpd installed and when i try to connect on my windows box with my root account it says to login so i type root and my password and it says that it's an incorrect login. I know i have to add it to a login... (4 Replies)
Discussion started by: byblyk
4 Replies

8. UNIX for Advanced & Expert Users

ftpd message

hello, On my AIX server 4.3.3.0 the following message appears on the screen: ftpd :Failed dlopen :/usr/lib/libpag.a(shr.o):a file or directory in the path name does not exist. Please help, Thanks . (1 Reply)
Discussion started by: eyounes
1 Replies

9. UNIX for Dummies Questions & Answers

wu-ftpd question

ya i was wondering if there was anyone out there who could show me a good how to page on wu-ftpd ...im running RH 7.1 and i have the update of wu i just need to know how to use it and configure it so the users are limited to their dir and not the whole system .....any help will do ..thx (2 Replies)
Discussion started by: mista_king
2 Replies
Login or Register to Ask a Question