Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers xintetd.d
# 1  
Old 07-03-2002

Hi guys, I want to disable some services like telnet,rlogin, and finger.Should I just erase them from xinetd.d or what? Their is no comments in that file so I don't what to do.Can I just use "#" in front of each option?
# 2  
Old 07-03-2002
Yes, erasing the particular line is not an encourageable thing to do. Try to '#' commented the line out. Make sure you rebooted the system after do so.

Another way you can do to disable telnet, edit the file /etc/xinetd.d/telnet, and set the field labeled disable to yes.

Signal the xinetd daemon to reload its configuration by executing the commands :

cd /etc/rc.d/init.d
./xinted reload

Finally, verify that the xinetd reloaded properly by looking at the output of the system log file using the following command.
tail -200 /var/log/messages

# 3  
Old 07-03-2002
I'm an idiot!!!

Uh-oh, I just noticed that xinetd.d was a directory and I thought it was just a regular file. I should slap myself for that. I wen't into the xinetd.d directory and found all the files their, they all had "disable=yes" so I guess I'm ok....I think.Thanks for the help dude.Smilie Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question

Featured Tech Videos