I have got now Redhat 7.0 and when I want to install Swat I need to edit the file /etc/inetd.conf but in Redhat 7.0 the file is named to /etc/xinetd.conf and /etc/xinetd.d can you help me ? (In Redhat 6.1 it worked alright) Greetz Rob op den kelder -------------- next part -------------- HTML attachment scrubbed and removed
Rob:
You will need to create the 'swat' file in the /etc/xinetd.d directory.
Below you will find the configuration I use.
After adding this file, you will need to issue the command:
killall -USR1 xinetd
This will tell xinetd to re-read its configuration.
-D
---------------------------
# default: on
# 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 = 10.0.0.0
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
}
-----Original Message-----
From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org]On
Behalf Of Fam. op den Kelder
Sent: Monday, April 16, 2001 8:40 AM
To: samba@samba.org
Subject: Samba with Redhat 7.0
I have got now Redhat 7.0 and when I want to install Swat I need to edit the
file /etc/inetd.conf but in Redhat 7.0 the file is named to /etc/xinetd.conf
and /etc/xinetd.d can you help me ?
(In Redhat 6.1 it worked alright)
Greetz
Rob op den kelder
On Mon, 16 Apr 2001, Fam. op den Kelder wrote:> I have got now Redhat 7.0 and when I want to install Swat I need to edit the file /etc/inetd.conf but in Redhat 7.0 the file is named to /etc/xinetd.conf and /etc/xinetd.d can you help me ? > (In Redhat 6.1 it worked alright) > > Greetz > > Rob op den kelder > > >I believe there should be an /etc/xinetd.d/swat file present. If not, here's mine. It will make a good template. # 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 = localhost user = root server = /usr/sbin/swat log_on_failure += USERID disable = yes } note that since I don't use sw2at, my disable line is yes. If you want to use swat, change disable to = no.