On Saturday 04 August 2001 05:22 pm, you wrote:
> Frank,
>
> RH 7.1 handles inetd a bit different. I think I can point you in the right
> direction. Look for a directory called xinetd.d, should be /etc/xinetd.d
>
> In this directory, there is a file for each service that xinetd can start.
> So, instead of editing the inetd file from 6.2, you add a file to the
> xinetd.d directory with the name of the service, in this case, swat. Then,
> you'll edit the file to look something like this:
>
> socket_type = stream
> protocol = tcp
> wait = no
> port = 400
> user = root
> server = /usr/bin/swat
> server_args = swat
>
> I think you have to restart xinetd, or reboot if you're from Redmond. That
> should do the trick... Good Luck!
>
> Doug
>
Thanks for the information.
I have the file you speak of but I am a wee bit confused at because of the
difference in yours, RH 7.1, and Zhang.
The only problem is that I don't believe it is working correctly.
The following is the RH 7.1 file:
# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
# to configure your Samba server. To use SWAT, \
# connect to port 901 with your favorite web browser.
service swat
{
port = 901
socket_type = stream
wait = no
only_from = 127.0.0.1
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = yes
}
Zhan has the following line:
> swat stream tcp nowait.400 root /usr/sbin/swat swat
If possible I would appreciate a bit of enlightenment as to what this file
should contain.
Thanks
Frank
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:36:18 EDT