Skip site navigation (1)Skip section navigation (2)
Date:      17 Sep 1998 15:30:43 -0000
From:      Jos.Backus@nl.origin-it.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   conf/7966: /etc/login.conf has a syntax error, causing inetd-based services to become disabled
Message-ID:  <19980917153043.20280.qmail@hal.mpn.cp.philips.com>

next in thread | raw e-mail | index | archive | help

>Number:         7966
>Category:       conf
>Synopsis:       Syntax error in login.conf causes problems with inetd (a.o.)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 17 08:40:00 PDT 1998
>Last-Modified:
>Originator:     Jos Backus
>Organization:
Origin B.V.
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	-current as of today.

>Description:

	/etc/login.conf has a ``;'' where a ``:'' should be. This causes
	services run from inetd such as ftp and telnet to fail because inetd
	barfs on reading /etc/login.conf.

>How-To-Repeat:

	Run the following to get a diagnostic:

	 $ cap_mkdb /etc/login.conf

>Fix:
	
	Apply the following patch, and add a final newline to quieten diff:

	--- login.conf  Thu Sep 17 09:15:50 1998
	+++ /etc/login.conf     Thu Sep 17 17:23:22 1998
	@@ -52,7 +52,7 @@
 	staff:\
        	:tc=default:
 	daemon:\
	-       :tc=default;
	+       :tc=default:
 	news:\
        	:tc=default:
 	dialer:\

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980917153043.20280.qmail>