-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 6 Nov 2001, Vince McHugh wrote:
> I am having some trouble starting SWAT on Redhat
> 7.0. & 7.1 . On the Old Redhat 6.2 you could start
> through /etc/inetd.conf , But with 7.X Xinetd replaces
> Inetd.
>
> Has anyone out there set up Samba via swat on a
> Redhat 7.X server? if so what did you do to get SWAT
> started?
Two things:
1. Make sure the "samba-swat" package is installed
[mbrodeur@freak mbrodeur]$ rpm -qa | grep samba
samba-client-2.2.1a-4
samba-common-2.2.1a-4
samba-swat-2.2.1a-4 << This one
samba-2.2.1a-4
Install the version that matches your samba install (or the latest
update RPMS for each package).
2. Un-disable the service in /etc/xinetd.d/swat
[mbrodeur@freak xinetd.d]$ pwd
/etc/xinetd.d
[mbrodeur@freak xinetd.d]$ cat swat
# 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 << Set to "no"
}
Then restart xinetd so it picks up the change:
/etc/init.d/xinetd restart
These examples come from an updated RH7.2 system, but should apply
(except for version numbers) to any RPM based system using xinetd.
- --
-Matt
Kissing a fish is like smoking a bicycle.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE76V0cc8/WFSz+GKMRAngQAJ4qt4wasGaY+51qlu5/Yu5mQZsNJQCfVYNM
8T59wUPkGmxScDM5yjSd5nQ=
=tWvV
-----END PGP SIGNATURE-----
*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************