1820561 Members
2064 Online
109626 Solutions
New Discussion юеВ

inetd.conf question

 
SOLVED
Go to solution
Steve Ferrara
Advisor

inetd.conf question

What's the command syntax to update the inetd.conf file? Thanks.
6 REPLIES 6
Dietmar Konermann
Honored Contributor

Re: inetd.conf question

You know the inetd(1M) and inetd.conf(4) man pages?
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: inetd.conf question

vi /etc/inetd.conf works for me. You could use sed, awk, or whatever --- it's just a textfile. Now, if you want to let inetd that you have made changes to the config file, you issue an inetd -c (HP-UX) or more generally send a SIGHUP to the inetd via kill -1 INETD_PID.
If it ain't broke, I can fix that.
Ravi_8
Honored Contributor

Re: inetd.conf question

Hi

vi /etc/inetd.conf work fine with me

after modification, issue command
#inetd -c

to refresh the daemons
never give up
Pnaidu
Frequent Advisor

Re: inetd.conf question

use any text editor , make changes , save and run # inetd -c start, this command will re-check the /etc/inetd.conf entries.
Bharat Katkar
Honored Contributor

Re: inetd.conf question

Hi,
/etc/inetd.conf is a normal ascii text file and you can edit it with vi. This is actually a configuration file for inetd daemon which handles different services.
Edit it with vi , save the changes.
Then execute "/usr/sbin/inetd -c" to make inetd daemon to reread the configuration file.
That's it.

see man inetd.conf and man inetd for more information.

Regards,
You need to know a lot to actually know how little you know
sreejith_4
Frequent Advisor

Re: inetd.conf question

Hi,

Its just a text file and u can edit it with your editor. Better to keep a copy of this before modifying it. Then run init -c to update the changes.

Thanks
Sreejith