Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-25-2005, 01:06 PM   #1
LQ Newbie
Registered: Apr 2005
Location: Lorton, Virginia
Posts: 2

Rep: Reputation: 0
Question Adding a Service in inetd

Hello everyone. I am brand new to this site and to LINUX. I am currently working my UNIX 8 month trainee position and have been tasked to add a service in etd. I have a couple of questions reference this.

First Q: Do I add this service in "/etc/services"?
Question 2: How do you do this?

I can't seem to figure out how to add a service......
Old 04-25-2005, 01:54 PM   #2
Registered: Aug 2004
Location: Australia
Distribution: Fedora
Posts: 282

Rep: Reputation: 30
Re: Adding a Service in inetd

Originally posted by Icky_Joe

First Q: Do I add this service in "/etc/services"?

Question 2: How do you do this?

(Since I am not using inetd now, so I recall it from memory) Edit /etc/inetd.conf. There are already some services defined inside and you simply copy and paste and make some modification for your use.

If it is possible, try use xinetd. It is easier to configure.
Old 04-25-2005, 03:27 PM   #3
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Add the service into /etc/inetd.conf. Xinetd is only for redhat I believe.

Old 04-26-2005, 06:35 AM   #4
LQ Newbie
Registered: Apr 2005
Location: Lorton, Virginia
Posts: 2

Original Poster
Rep: Reputation: 0
Talking Thanks

Thank you both for the info. I appreciate it.
Now I just need to know how to edit the xinetd.config file? When I use VI and try to :wq! it tells me I don't have permission to change the file.
Old 04-26-2005, 09:05 AM   #5
Registered: Apr 2005
Location: Islamabad, Pakistan
Distribution: Mandrake 10.0 & Window XP professional
Posts: 32

Rep: Reputation: 15
try doing an


before u do it.

only root can edit that file, so either "su" or login as root and do it. better to use "su " though


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
question about uucp service and /etc/inetd.conf file frankie_DJ Linux - Newbie 2 09-03-2005 01:23 AM
inetd unknown service golien Linux - General 4 08-09-2005 10:58 PM
9.1: inetd service not starting. asklepios Slackware 2 01-31-2004 11:53 AM
adding a service neverender Mandriva 4 01-14-2004 06:25 AM
adding a program as a service neverender Linux - Software 2 01-14-2004 05:29 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration