Click to See Complete Forum and Search --> : xinetd.conf
wincen
04-30-2001, 06:37 PM
I've recently installed redhat 7.1 on one of my machines and I was about to set up samba, using swat when I discoved I did not have a inetd.conf file (to add: swat stream tcp nowait.400 root /usr/sbin/swat swat) in my /etc directory. Instead I have a xinetd.conf file an xinetd directoy which has some samba file in there, but after poking around I'm still confused as to how it works. Can someone explain it or provide a link to a guide?
Bills_a_bub
04-30-2001, 06:47 PM
The xinetd.d directory replaced inetd starting with RH 7.0. Red Hat's claim is that it's more secure.
See:
xinetd Unofficial Tutorial (http://www.macsecurity.org/resources/xinetd/tutorial.shtml)
wincen
05-01-2001, 01:41 AM
Thanks for the link.
Just in case someone ever needs this info, to set up swat with red hat 7.0 or 7.1 with xinetd goto /etc/xinetd.d and edit the file "swat" (without qoutes) so that it looks like this:
service swat
{
port = 901
socket_type = stream
wait = no
only_from = YOUR_IP_ADDRESS
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
}
trekker
05-01-2001, 02:44 AM
*grin* heh heh..
I was stumped too when I first attempted samba and couldn't find inetd.conf... till someone enlightened me on this in the Networking forum :D Took me for quite a ride trying to look inetd.conf :rolleyes: