Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > inetd.conf

inetd.conf
Thread Tools
aaron!
Guest
Status:
Reply With Quote
Sep 18, 2000, 11:34 AM
 
I've been looking through the etc files trying to get cvs pserver set up. etc/groups and etc/services both say at the top that they are not used since NetInfo takes over their job. I found the equivalent info in NetInfo, edited that, it works.

What I can't figure out is if inetd.conf is used since there is nothing at the top of the file refering to NetInfo. How do I put the changes into effect once I change the file?
     
Wolverine
Guest
Status:
Reply With Quote
Sep 18, 2000, 02:27 PM
 
You should be able to make changes to inetd.conf and then simply HUP the inetd process.

use 'ps-aux | grep inet' to get the pid of inetd then use 'kill -HUP pid' to restart inetd and force it to re-read the inetd.conf file.
     
Junior Member
Join Date: Oct 1999
Status: Offline
Reply With Quote
Sep 21, 2000, 01:18 AM
 
Wolverine - yes, that WOULD work, *if you are running X in single user mode*.

In all normal cases, yes, MacOS X, like any true BSD system, uses NetInfo for all services. I found some good information in the man files (>man niutli), also on this page that I started to write:
http://www.dcubed.com/macosx/

Basically, you have to create a start file in /System/Library/<servicename>/<servicename>, and then add the port and service into NetInfo. It's not that hard to do. The only problem is that I can't figure out how to 'HUP' netinfo to get services to start, because why the hell would I run unix if I wanted to reboot to start things?

Dan
     
Wolverine
Guest
Status:
Reply With Quote
Sep 21, 2000, 09:12 AM
 
I've specifically modified the inetd.conf file to enable things like verbose logging of ftp sessions and had no problems with the changes taking effect with a HUP of the inetd process.
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:05 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2