From adrian@alpha.cs.virginia.edu  Wed Nov 18 08:42:56 1998
Received: from alpha.cs.virginia.edu (alpha.cs.Virginia.EDU [128.143.137.137])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA28692
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 18 Nov 1998 08:42:52 -0800 (PST)
          (envelope-from adrian@alpha.cs.virginia.edu)
Received: (from adrian@localhost)
	by alpha.cs.virginia.edu (8.8.8/8.8.8) id LAA11978;
	Wed, 18 Nov 1998 11:46:08 -0500 (EST)
	(envelope-from adrian)
Message-Id: <199811181646.LAA11978@alpha.cs.virginia.edu>
Date: Wed, 18 Nov 1998 11:46:08 -0500 (EST)
From: adrian@ubergeeks.com
Reply-To: adrian@ubergeeks.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: adjustments to login.conf
X-Send-Pr-Version: 3.2

>Number:         8744
>Category:       conf
>Synopsis:       /etc/login.conf defaults too small. umask contradicts adduser.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 18 08:50:01 PST 1998
>Closed-Date:    Tue Dec 29 13:59:10 PST 1998
>Last-Modified:  Tue Dec 29 14:19:40 PST 1998
>Originator:     Adrian Filipi-Martin
>Release:        FreeBSD 2.2.7-STABLE i386
>Organization:
Ubergeeks Consulting
>Environment:

	

>Description:

	Some of the process isze limits have become to small and
	are easily run into.  There are large web pages that cause
	netscape to exceed the maxmem setting, gimp and fresco
	users I have been helping have also been running into the
	default being too low.  It looks like you cannot even build
	Fresco98 without upping these limits some.

	Also the setting for the default umask in login.conf is in
	disagreement with the adduser script.  This makes the
	described system of unique groups not work out of the box.

>How-To-Repeat:

	Load http://www.cdw.com/, the go to "bargain basement" and
	then follow "view all results".  The below URL should do
	this.

	http://www.cdw.com/search/default.asp?group=BSK&special=groupbsk%2Ehtm&page=1&show=all

>Fix:
	
	Apply the following patch.  Honestly, I have not really
	researched the new sizes very well.  They may need to be
	larger, or perhaps they could be smaller.  The key thing
	is to make it easy for newbies to avoid this problem.

--- login.conf.orig	Wed Nov 18 11:29:59 1998
+++ login.conf	Wed Nov 18 11:30:09 1998
@@ -32,17 +32,17 @@
 
 default:\
 	:cputime=infinity:\
-	:datasize-cur=22M:\
+	:datasize-cur=32M:\
 	:stacksize-cur=8M:\
 	:memorylocked-cur=10M:\
-	:memoryuse-cur=30M:\
+	:memoryuse-cur=64M:\
 	:filesize=infinity:\
 	:coredumpsize=infinity:\
 	:maxproc-cur=64:\
 	:openfiles-cur=64:\
 	:priority=0:\
 	:requirehome@:\
-	:umask=022:\
+	:umask=002:\
 	:tc=auth-defaults:
 
 
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: hoek 
State-Changed-When: Tue Dec 29 13:59:10 PST 1998 
State-Changed-Why:  
Defaults in -current are unlimited.  Merged to -22. 
>Unformatted:
