a little off-topic: I need info about inetd

Andrew van der Stock ajv "at" greebo.net
Mon, 27 Aug 2001 06:18:09 +0000


Dead Rat 7.1 uses xinetd, and you can find templates for the other services
in /etc/xinetd.d (from memory). Each service has a file in there, and you
will want to copy one of those for VNC and change the line for "disable" to
"enable", and kill -HUP xinetd.

xinetd is supposedly better and you can easily have per-service
configurations. As a security dude, the first thing I do is go through this
directory and delete files for services that are insecure, and set to
"disable" as many of the remaining as possible.

Andrew

----- Original Message -----
From: "Norberto Bensa" <nbensa "at" yahoo.com>
To: <vnc-list "at" uk.research.att.com>
Sent: Monday, August 27, 2001 2:36 PM
Subject: a little off-topic: I need info about inetd


> Hello,
>
> I've been following the threads about starting vnc with inetd, that's
> something I'd like to see here. Unfortunately, inetd seems not to be part
of
> the RedHat 7.1 distro (I'm starting to hate RH). I've searched on
google.com
> and I've found inetutils, which I've  downloaded. I've tried to compile
that
> but it dies in telnetd compilation (log attached).
>
> My cuestions is: is inetutils 1.3.2 the latest version? If so, are there
> patches for it?
>
> If it is of any help, these are my system specs: Linux RedHat 7.1 but I've
> installed gcc 2.95.3, glibc 2.2.4, kernel 2.4.9.
>
> By the way, in my searches I've found xinetd, but the configuration seems
to
> be a little harder that inetd, is anyone here using xinetd to start vnc?
>
> TIA,
> Norberto
>
> ---------- compilation log follows (only relevant part) ------------
>
> make -C telnetd all
> make[1]: Entering directory `/home/nbensa/src/inetutils-1.3.2/telnetd'
>
gcc -g -O2 -DHAVE_CONFIG_H -I. -I../include  -DLINEMODE -DKLUDGELINEMODE -DD
> IAGNOSTICS -DENV_HACK -DOLD_ENVIRON -DPATH_LOGIN=\"/bin/login\"     -c -o
> telnetd.o telnetd.c
>
gcc -g -O2 -DHAVE_CONFIG_H -I. -I../include  -DLINEMODE -DKLUDGELINEMODE -DD
> IAGNOSTICS -DENV_HACK -DOLD_ENVIRON -DPATH_LOGIN=\"/bin/login\"     -c -o
> authenc.o authenc.c
>
gcc -g -O2 -DHAVE_CONFIG_H -I. -I../include  -DLINEMODE -DKLUDGELINEMODE -DD
> IAGNOSTICS -DENV_HACK -DOLD_ENVIRON -DPATH_LOGIN=\"/bin/login\"     -c -o
> global.o global.c
>
gcc -g -O2 -DHAVE_CONFIG_H -I. -I../include  -DLINEMODE -DKLUDGELINEMODE -DD
> IAGNOSTICS -DENV_HACK -DOLD_ENVIRON -DPATH_LOGIN=\"/bin/login\"     -c -o
> slc.o slc.c
>
gcc -g -O2 -DHAVE_CONFIG_H -I. -I../include  -DLINEMODE -DKLUDGELINEMODE -DD
> IAGNOSTICS -DENV_HACK -DOLD_ENVIRON -DPATH_LOGIN=\"/bin/login\"     -c -o
> state.o state.c
>
gcc -g -O2 -DHAVE_CONFIG_H -I. -I../include  -DLINEMODE -DKLUDGELINEMODE -DD
> IAGNOSTICS -DENV_HACK -DOLD_ENVIRON -DPATH_LOGIN=\"/bin/login\"     -c -o
> sys_term.o sys_term.c
> sys_term.c: In function `rmut':
> sys_term.c:2233: sizeof applied to an incomplete type
> sys_term.c:2235: arithmetic on pointer to an incomplete type
> sys_term.c:2235: dereferencing pointer to incomplete type
> sys_term.c:2235: increment of pointer to unknown structure
> sys_term.c:2235: arithmetic on pointer to an incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2236: dereferencing pointer to incomplete type
> sys_term.c:2237: dereferencing pointer to incomplete type
> sys_term.c:2240: dereferencing pointer to incomplete type
> sys_term.c:2240: dereferencing pointer to incomplete type
> sys_term.c:2240: dereferencing pointer to incomplete type
> sys_term.c:2240: dereferencing pointer to incomplete type
> sys_term.c:2240: dereferencing pointer to incomplete type
> sys_term.c:2240: dereferencing pointer to incomplete type
> sys_term.c:2240: dereferencing pointer to incomplete type
> sys_term.c:2240: dereferencing pointer to incomplete type
> sys_term.c:2242: dereferencing pointer to incomplete type
> sys_term.c:2242: dereferencing pointer to incomplete type
> sys_term.c:2242: dereferencing pointer to incomplete type
> sys_term.c:2242: dereferencing pointer to incomplete type
> sys_term.c:2242: dereferencing pointer to incomplete type
> sys_term.c:2242: dereferencing pointer to incomplete type
> sys_term.c:2242: dereferencing pointer to incomplete type
> sys_term.c:2242: dereferencing pointer to incomplete type
> sys_term.c:2244: dereferencing pointer to incomplete type
> sys_term.c:2255: structure has no member named `ut_name'
> sys_term.c:2255: structure has no member named `ut_name'
> sys_term.c:2255: structure has no member named `ut_name'
> sys_term.c:2255: structure has no member named `ut_name'
> sys_term.c:2255: structure has no member named `ut_name'
> sys_term.c:2255: structure has no member named `ut_name'
> sys_term.c:2255: structure has no member named `ut_name'
> sys_term.c:2255: structure has no member named `ut_name'
> make[1]: *** [sys_term.o] Error 1
> make[1]: Leaving directory `/home/nbensa/src/inetutils-1.3.2/telnetd'
> make: *** [telnetd-all] Error 2
>
>
>
>
>
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> ---------------------------------------------------------------------
> To unsubscribe, send a message with the line: unsubscribe vnc-list
> to majordomo "at" uk.research.att.com
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------