Operating System - HP-UX
1832535 Members
7506 Online
110043 Solutions
New Discussion

Securing /var/adm/inetd.sec ? Help!!!

 
SOLVED
Go to solution
Daniel Simard
Frequent Advisor

Securing /var/adm/inetd.sec ? Help!!!

Hi!,
I was wondering if you can help me secure my inetd.sec file. I have already remmed many entries but am not sure about some. If you have a good site that would go through some entries as an example, I would appreciate it.

here is a copy of my inetd.sec. for example, what is kitty ???

dtspc allow 127.0.0.1 kitty
spc allow 127.0.0.1 training
mserve allow 127.0.0.1 training
auth allow 127.0.0.1
telnet allow 172.* 192.168.1-6.*
instl_boots deny
shell allow 172.*
auth allow 172.*
cmsd allow 172.*
ttdbserver allow 172.*
recserv deny
discard allow 172.*
echo allow 172.*
exec allow 172.20.*
login allow 172.*

# chargen allow 172.*
# daytime allow 172.*
# discard stream tcp nowait root internal
# printer allow 172.*
# ntalk allow 172.*
# time allow 172.*


Any help is very much appreciated!!! THANKS
Si tu n'as pas ce que tu aimes, aimes ce que tu as.
2 REPLIES 2
Paul Sperry
Honored Contributor
Solution

Re: Securing /var/adm/inetd.sec ? Help!!!

kitty is a hostname.

in my initd.sec

dtspc allow 127.0.0.1 loopback mantis


mantis is the local host
S.K. Chan
Honored Contributor

Re: Securing /var/adm/inetd.sec ? Help!!!

What you can do is only allow the services you needed. For example I do not need "ttdbserver" thus I have this entry commented. The rest of your entries are enabled on my machine. I would also recommend (if possible) narrow down your IP address wilcard matching. For example ..
..
login allow 127.0.0.1 172.xyx.* 172.abc.*
..
Getting more specific would give you more control.