I tried this out on my system and it works for me!
with disabled:
Aug 19 12:58:21 imhotep xinetd[26847]: {init_services} no services. Exiting...
without disabled:
Aug 19 12:58:38 imhotep xinetd[26856]: xinetd Version 2.1.8.8p3 started with
Aug 19 12:58:38 imhotep xinetd[26856]: libwrap
Aug 19 12:58:38 imhotep xinetd[26856]: options compiled in.
Aug 19 12:58:38 imhotep xinetd[26856]: Started working: 1 available service
defaults
{
disabled = amanda
}
service amanda
{
socket_type = dgram
protocol = udp
wait = yes
user = backup
groups = yes
server = /usr/lib/amanda/amandad
bind = 192.168.11.10
only_from = 192.168.11.2
}
the man page does mention putting in a 'disable = yes' option.
On Sat, Aug 18, 2001 at 01:30:40PM -0400, Brian P. Flaherty wrote:
> Alvin Oga <aoga@Maggie.Linux-Consulting.com> writes:
>
> > to tighten your sever....
> > - comment out all entries in inetd.conf...
> > or xinet.d/* should have "disable=yes"
>
> Hello,
>
> I just tried the above in my xinetd.conf and I get errors. That is,
> I put 'disable = yes' in service sections. I also tried 'disabled',
> but received the same messages.
>
> Aug 18 13:22:37 c119756-b xinetd[27786]: Starting soft reconfiguration
> Aug 18 13:22:37 c119756-b xinetd[27786]: bad attribute: disable [line=58]
> Aug 18 13:22:37 c119756-b xinetd[27786]: bad attribute: disable [line=73]
> Aug 18 13:22:37 c119756-b xinetd[27786]: bad attribute: disable [line=85]
> Aug 18 13:22:37 c119756-b xinetd[27786]: bad attribute: disable [line=97]
> Aug 18 13:22:37 c119756-b xinetd[27786]: bad attribute: disable [line=109]
> Aug 18 13:22:37 c119756-b xinetd[27786]: bad attribute: disable [line=121]
> Aug 18 13:22:37 c119756-b xinetd[27786]: bad attribute: disable [line=133]
> Aug 18 13:22:37 c119756-b xinetd[27786]: bad attribute: disable [line=145]
> Aug 18 13:22:37 c119756-b xinetd[27786]: bad attribute: disable [line=157]
> Aug 18 13:22:37 c119756-b xinetd[27786]: bad attribute: disable [line=169]
>
> I am following this up because I have also posted a question about
> 'disabled =' in the defaults section of xinetd.conf. Are these
> version differences? I am using xinetd Version 2.1.8.8p3 from
> stable/potato. Thanks for any thoughts or suggestions.
>
> Brian Flaherty
>
> --
> /"\
> \ / ASCII RIBBON CAMPAIGN
> X AGAINST HTML MAIL
> / \
>
>
> --
> To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
--
Jason Thomas Phone: +61 2 6257 7111
System Administrator - UID 0 Fax: +61 2 6257 7311
tSA Consulting Group Pty. Ltd. Mobile: 0418 29 66 81
1 Hall Street Lyneham ACT 2602 http://www.topic.com.au/
Attachment:
pgp9xerMHlrdj.pgp
Description: PGP signature