Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
Question about /etc/services
Name: cyan Date: March 8, 2002 at 20:45:52 Pacific
Comment:
After make changes in /etc/services, how to make it take effective without booting the system?
Name: Mark M Date: March 10, 2002 at 14:28:32 Pacific
Reply:
1) Login as root 2) /etc/init.d/inetsvc stop wait a few secs then... 3) /etc/init.d/inetsvc start
Should be sorted. Hope this helps.
0
Response Number 2
Name: cyan Date: March 10, 2002 at 19:35:33 Pacific
Reply:
Thank you very much, Mark.
It works! But I have more questions. :)
If I want to do the same on aix and linux machine, what commands should I use?
Sorry for asking non-solaris related questions.
0
Response Number 3
Name: Mark M Date: March 10, 2002 at 21:16:52 Pacific
Reply:
On other systems it's pretty much a case of killing and restarting inetd. on Solaris you need to run inetd -s (which is in the inetsvc file).
As far as I'm aware on AIX etc you should just be able to find the PID of inetd, kill it, and then restart it again, I know this works on Linux fine.
also: kill -HUP inetd might work on some of these other flavours. (although I stand to be corrected).
Hope this is useful! :o)
0
Response Number 4
Name: Mark M Date: March 10, 2002 at 21:18:31 Pacific
Reply:
Oh, by the way, regarding services file, if you're just trying to disable stuff like telnet and so on you may want to do this in the /etc/inetd.conf file instead of services... just a neater way of doing it.
Although I assume you're remapping ports or something similar.
Cheers
Mark
0
Response Number 5
Name: cyan Date: March 11, 2002 at 12:05:29 Pacific
Reply:
Mark, thanks again.
I posted a related question in linux forum. Could you please go to there?
Thanks so much.
0
Response Number 6
Name: Satch Nanda Date: April 19, 2002 at 07:17:20 Pacific
Reply:
Is there a maximum number a service can have in /etc/services? I thought it was 32676 on older versions of Solaris. Does the 64 bit architecture allow for twice that maximum?
Thanks.
Satch Nanda
0
Response Number 7
Name: Christine Date: June 20, 2002 at 00:06:00 Pacific
Summary: Hi, I am pretty new for the firewall, and I am reading "IP Filter Based Firewalls HOWTO" and I have some questions, wish you could help: 1. "when you're actually creating your ruleset, you should setu...
Summary: According to your disk capacity right now, if you move everything back to the root partition, this will only leave about 700 meg for new applications in /opt and for user space in the /export/home dir...
Summary: more information about this problem: # make sunos5 make[1]: Entering directory `/sourcecode/tcp_wrappers_7.6' gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DNETGROUP -DGETPEERNAME_BUG -D...