Enabling SWAT

Dennis K Grow dkgrow at mindspring.com
Sun Jan 13 13:43:03 GMT 2002


Yan Seiner wrote:

> "Marc R. Hoffman" wrote:
> >
> > I'm having a problem enabling SWAT. I've followed the directions that I
> > was able to find on the net. One of the step, however, eludes me:
> >
> > > Edit file "/etc/inetd.conf". Add the following line if it isn't already
> > > there.
> > > swat stream tcp nowait.400 root /usr/sbin/swat swat
> > > Note: If you have the program "swat" installed somewhere other than "/usr/
> > > sbin", then change "/usr/sbin/swat" to be the correct path to "swat".
>
> On RH 7.x (and probably mandrake 8.x, since it's based on RH), inetd has
> been replaced by xinetd.  It uses a modular config file system - each
> servide has its own little file under /etc/xinetd.d or similar.  IMHO,
> while xinetd may be more secure, the multiple config files suck.
>
> Anyway, man xinetd should get you started.  You will end up creating a
> file /etc/xinetd.d/swat .

It should already be there. He has to edit disable = yes to disable = no and then
restart xinetd
/etc/rc.d/init.d/xinetd restart

or chkconfig swat on
is easier

>
>
> BTW, that doc really should be updated, along with a sample
> xinetd.d/swat file.  Since I have not been able to get swat working, I
> won't volunteer mine ;-)
>
> I have an authentication error, BTW, not an xientd problem.
>
> --Yan
>
> --
> Daddy, did all the hair that fell off your head stick to your arms?
> Akari, age 4
>  ...
>  oberon.cardhome.lan: 4:18pm up 7 days, 20:37, 5 users, load average:
> 0.09, 0.38, 0.25
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

--
Dennis K. Grow
RedHat 7.2  Kernel: 2.4.13  KDE: 2.2-10  ALSA: 0.5.11
  1:35pm  up  3:08,  5 users,  load average: 0.75, 0.89, 1.17
------------------------------------------------------------







More information about the samba mailing list