[prev in list] [next in list] [prev in thread] [next in thread]
List: annvix-cvs
Subject: [cvs] CVS commit in tools/setup on 2005/03/19 00:41:21
From: cvsrep () annvix ! org
Date: 2005-03-19 0:41:22
Message-ID: E1DCS1q-0008Aq-16 () build ! annvix ! org
[Download RAW message or body]
Module name: tools/setup
Changes by: vdanen
Date: 2005/03/19 00:41:21
Commit log:
set resource limits
Index: csh.cshrc
===================================================================
RCS file: /work/annvix/cvsroot/tools/setup/csh.cshrc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- csh.cshrc 18 Mar 2005 23:51:28 -0000 1.2
+++ csh.cshrc 19 Mar 2005 00:41:21 -0000 1.3
@@ -11,6 +11,13 @@
if ( $uid == 0 ) && limit coredumpsize 1000000
+# set some limits by default for all users
+limit maxproc 100
+limit datasize 6144
+limit descriptors 256
+limit stacksize 8192
+limit vmemoryuse 14336
+
if ($?prompt) then
if ($?tcsh) then
set prompt='[%n@%m %c]$ '
Index: profile
===================================================================
RCS file: /work/annvix/cvsroot/tools/setup/profile,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- profile 18 Mar 2005 23:51:28 -0000 1.4
+++ profile 19 Mar 2005 00:41:21 -0000 1.5
@@ -12,6 +12,13 @@
umask 022
+# set some limits by default for all users
+ulimit -u 100
+ulimit -d 6144
+ulimit -n 256
+ulimit -s 8192
+ulimit -v 14336
+
USER=`id -un`
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"
Index: setup.spec
===================================================================
RCS file: /work/annvix/cvsroot/tools/setup/setup.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- setup.spec 18 Mar 2005 23:53:09 -0000 1.12
+++ setup.spec 19 Mar 2005 00:41:21 -0000 1.13
@@ -1,8 +1,8 @@
-# $Id: setup.spec,v 1.12 2005/03/18 23:53:09 vdanen Exp $
+# $Id: setup.spec,v 1.13 2005/03/19 00:41:21 vdanen Exp $
%define name setup
%define version 2.5
-%define release 1avx
+%define release 2avx
Summary: A set of system configuration and setup files
Name: %{name}
@@ -90,6 +90,10 @@
%dir /var/lib/rsbac
%changelog
+* Fri Mar 18 2005 Vincent Danen <vdanen@annvix.org> 2.5-2avx
+- set some limits via limit/ulimit in /etc/profile and /etc/csh.cshrc
+ as right now all resources are pretty much unlimited
+
* Fri Mar 18 2005 Vincent Danen <vdanen@annvix.org> 2.5-1avx
- csh.cshrc: fix some csh code in csh.cshrc
- inputrc: redefine PgUp/PgDn so that instead of just cycling through
_______________________________________________
cvs mailing list
cvs@annvix.org
http://annvix.org/mailman/listinfo/cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic