[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: RH8.0 - Altering Security Level
- From: "Ashley Kitson" <akitson bbcb co uk>
- To: <redhat-list redhat com>
- Subject: Re: RH8.0 - Altering Security Level
- Date: Fri Jan 31 06:03:02 2003
Michael
The 2 comment lines were the ones suggested when I read the man page for
chkconfig (as I didn't know what it was until then).
I ran netstat as suggested and got no output. I ran it again without the
grep. I ran 'chkconfig swat on', restarted xinetd and ran netstat again
with same result as below:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 0.0.0.0:515 0.0.0.0:* LISTEN
584/lpd Waiting
tcp 0 0 0.0.0.0:9098 0.0.0.0:* LISTEN
2721/xinetd
tcp 0 0 0.0.0.0:9099 0.0.0.0:* LISTEN
2721/xinetd
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
1153/smbd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
462/portmap
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
2040/X
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
553/sshd
tcp 0 0 127.0.0.1:1563 0.0.0.0:* LISTEN
2721/xinetd
tcp 0 0 192.168.1.101:139 192.168.1.100:1085
ESTABLISHED 2265/smbd
My xinet.d file looks like this:
#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/
defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
netbios-ssn stream tcp nowait root /usr/local/samba/bin/smbd smbd
netbios-ns dgram udp wait root /usr/local/samba/bin/nmbd nmbd
swat stream tcp nowait.400 root /etc/xinetd.d/swat swat
}
includedir /etc/xinetd.d
I've tried commenting out the swat line - no joy.
Kind Regards
Mr Ashley Kitson
----- Original Message -----
From: "Michael Schwendt" <ms0301rh arcor de>
To: <redhat-list redhat com>
Sent: Friday, January 31, 2003 10:14 AM
Subject: Re: RH8.0 - Altering Security Level
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Fri, 31 Jan 2003 09:07:37 -0000, Ashley Kitson wrote:
>
> > etc/xinetd.d/swat is configured as
> >
> > #chkconfig: 35 20 80
> > #description: SWAT
> >
> > service swat
> > {
> > disable = no
> > port = 901
> > socket_type = stream
> > wait = no
> > only_from = localhost
> > user = root
> > log_on_failure += USERID
> > )
> >
> > I have run chkconfig (and added the swat lines above as result and
> > still no joy
> > :-(
>
> Huh? It doesn't make any sense to add those two lines there. All
> you would need to enable SWAT is to run
>
> # chkconfig swat on
>
> and optionally (to make sure xinetd is running, too):
>
> # service xinetd start
> # chkconfig xinetd on
>
> Then have a look at the output of:
>
> netstat -tpan | grep 901
>
> What does it give?
>
> - --
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
>
> iD8DBQE+Okxy0iMVcrivHFQRAqDCAJ0fZOM3alrFjAoLwKrGwGlmqwJUAgCfaFnY
> 2NhUkmqMHIOesUo+4jT43H4=
> =Jgd3
> -----END PGP SIGNATURE-----
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]