Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 1998 11:46:08 -0500 (EST)
From:      adrian@ubergeeks.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   conf/8744: adjustments to login.conf
Message-ID:  <199811181646.LAA11978@alpha.cs.virginia.edu>

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

>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:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 18 08:50:01 PST 1998
>Last-Modified:
>Originator:     Adrian Filipi-Martin
>Organization:
Ubergeeks Consulting
>Release:        FreeBSD 2.2.7-STABLE i386
>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:
 
 
>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?199811181646.LAA11978>