From charnier@xp11.frmug.org  Tue Jan 21 13:59:04 1997
Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252])
          by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id NAA16848
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Jan 1997 13:58:58 -0800 (PST)
Received: (from uucp@localhost) by frmug.org (8.8.2/8.8.2/frmug-1.3) with UUCP id WAA01613 for FreeBSD-gnats-submit@freebsd.org; Tue, 21 Jan 1997 22:58:53 +0100 (MET)
Received: (from charnier@localhost) by xp11.frmug.org (8.8.4/8.7.3/xp11-uucp-1.1) id WAA01626; Tue, 21 Jan 1997 22:50:41 +0100 (CET)
Message-Id: <199701212150.WAA01626@xp11.frmug.org>
Date: Tue, 21 Jan 1997 22:50:41 +0100 (CET)
From: Philippe Charnier <charnier@xp11.frmug.org>
Reply-To: charnier@xp11.frmug.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: setting for root in login.conf are too small
X-Send-Pr-Version: 3.2

>Number:         2551
>Category:       misc
>Synopsis:       limit too small for user root
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    davidn
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 21 14:00:03 PST 1997
>Closed-Date:    Tue Apr 14 12:35:13 PDT 1998
>Last-Modified:  Tue Apr 14 12:35:21 PDT 1998
>Originator:     Philippe Charnier
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

	

>Description:

	Limits (datasize, memoryuse, ..) are too small for user root, I can't
link a kernel (compiled using -g). Please update /etc/login.conf.

I also noticed:
	- xuser has a cputime of 4M ??? (shouldn't this be in hours/min.)
	- staff is searching for /etc/motd-staff which doesn't exist.
	- there is a warning (cap_mkdb) about duplicate entries.
	- /usr/sbin/userls is not part of the system.
	- login.conf is not yet in login(1), passwd(5), ... man pages
               (FILES and SEE ALSO section).


>How-To-Repeat:

	Make a kernel with debug symbols, you will get a sigv 6 and a failure
from malloc at ld stage. ld should maybe abort more gracefully.

Note that I don't use login classes in passwd file and my root's shell is tcsh.

>Fix:
	
	

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->davidn 
Responsible-Changed-By: davidn 
Responsible-Changed-When: Wed Jan 22 13:14:47 EST 1997 
Responsible-Changed-Why:  
This one is mine. 

From: davidn@unique.usn.blaze.net.au (David Nugent)
To: charnier@xp11.frmug.org
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: misc/2551: setting for root in login.conf are too small
Date: Wed, 22 Jan 1997 13:37:49 +1100

 Philippe Charnier writes:
 > 	Limits (datasize, memoryuse, ..) are too small for user root, I can't
 > link a kernel (compiled using -g). Please update /etc/login.conf.
 
 Thanks for the feedback.
 
 Note firstly that the login.conf was intended as an example only,
 not really an attempt at introducing a "reasonable" set of defaults.
 Perhaps it should be (as Bruce already implied earlier).
 
 
 > 	- xuser has a cputime of 4M ??? (shouldn't this be in hours/min.)
 
 Yes, a typo which I only noticed yesterday. Also, most resource
 entries for 'xuser' are still too low for the 'power' xuser. :)
 
 
 > 	- there is a warning (cap_mkdb) about duplicate entries.
 
 This came up with compiling termcap recently too when the 'dtterm'
 record was added. It appears to be a bug in cap_mkdb. I'll look
 into that when I'm visiting this problem.
 
 
 > 	- login.conf is not yet in login(1), passwd(5), ... man pages
 >                (FILES and SEE ALSO section).
 
 I'll fix this too.
 
 Regards,
 
 David Nugent - Unique Computing Pty Ltd - Melbourne, Australia
 Voice +61-3-9791-9547  Data/BBS +61-3-9792-3507  3:632/348@fidonet
 davidn@freebsd.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/
State-Changed-From-To: open->feedback 
State-Changed-By: davidn 
State-Changed-When: Wed Jan 22 14:34:35 EST 1997 
State-Changed-Why:  
A revised login.conf committed to -current. 
Please see if this fixes any problems. 
State-Changed-From-To: feedback->closed 
State-Changed-By: phk 
State-Changed-When: Tue Apr 14 12:35:13 PDT 1998 
State-Changed-Why:  
timed out 
>Unformatted:
