From owner-freebsd-bugs Sat May 24 22:00:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA08340 for bugs-outgoing; Sat, 24 May 1997 22:00:03 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA08326; Sat, 24 May 1997 22:00:01 -0700 (PDT) Resent-Date: Sat, 24 May 1997 22:00:01 -0700 (PDT) Resent-Message-Id: <199705250500.WAA08326@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, ngk@gc2.kloepfer.org Received: from cortex.gc2.kloepfer.org (cortex.gc2.kloepfer.org [206.225.39.4]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA07899 for ; Sat, 24 May 1997 21:50:17 -0700 (PDT) Received: (from gil@localhost) by cortex.gc2.kloepfer.org (8.8.5/8.8.5) id XAA00323; Sat, 24 May 1997 23:50:07 -0500 (CDT) Message-Id: <199705250450.XAA00323@cortex.gc2.kloepfer.org> Date: Sat, 24 May 1997 23:50:07 -0500 (CDT) From: ngk@gc2.kloepfer.org Reply-To: ngk@gc2.kloepfer.org To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: ngk@gc2.kloepfer.org X-Send-Pr-Version: 3.2 Subject: conf/3677: /etc/login.conf needs a default Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3677 >Category: conf >Synopsis: login.conf needs a default or baseline file >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat May 24 22:00:01 PDT 1997 >Last-Modified: >Originator: Gil Kloepfer Jr. >Organization: None >Release: FreeBSD 2.2.2-RELEASE i386 >Environment: FreeBSD 2.2.2-Release, all platforms >Description: After installation, there is no /etc/login.conf file, so when login or inetd accesses the root class, a syslog message is displayed: May 24 23:18:13 host login: login_getclass: unknown class 'root' May 24 23:25:03 host inetd[253]: login_getclass: unknown class 'root' >How-To-Repeat: Install FreeBSD 2.2.2-Release >Fix: The login.conf file has a lot of options and defaults. It probably should exist with the default values for the default class, and a set of relatively secure values for the root class. This would make it easier for someone first dealing with the file to have a template to work with. It would also eliminate the messages noted above when the system is first built. The syslog messages are NOT a bug, they're probably a good way to alert a system administrator that the /etc/login.conf doesn't exist. >Audit-Trail: >Unformatted: