From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 8E6C02F69A for ; Mon, 7 Aug 2000 17:24:14 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.8.7/8.8.7) id RAA05142 for axp-list@listman.redhat.com; Mon, 7 Aug 2000 17:24:14 -0400 Received: from student.uml.edu (student.uml.edu [129.63.1.3]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id RAA05138 for ; Mon, 7 Aug 2000 17:24:13 -0400 Received: from webmail (student.uml.edu [129.63.1.3]) by student.uml.edu (Netscape Messaging Server 3.6) with SMTP id AAA1E01 for ; Mon, 7 Aug 2000 17:24:12 -0400 From: Kurt_Ludwig@student.uml.edu (Kurt Ludwig) To: axp-list@redhat.com Subject: Re: limit or ulimit X-Mailer: Netscape Messenger Express 3.5.2 [Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)] Date: Mon, 7 Aug 2000 17:24:12 -0400 Message-ID: <7736CF5196C.AAA1E01@student.uml.edu> X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors that's an interface through PAM to be able to set the limits for specific users / groups instead of having a global config. it basically makes it easier to admin the limits for various users/ groups instead of writing all the code into /etc/profile and /etc/csh.cshrc you don't have to write search code for specific things (group membership, username, etc. etc.) in the default config files, because PAM can handle it for you. I'm not sure though if the /etc/security/limits.conf or /etc/profile / /etc/csh.cshrc takes priority (I've always used the default configs for the respective shells because I work between different Unicies and Linucies). Kurt "W Bauske" wrote: >Kurt Ludwig wrote: >> >> Depends on which shell you're using as far as limit and ulimit go. >> it's limit for tcsh and csh and ulimit for bash and sh >> >> the default settings for bash/sh are held in /etc/profile and the defaults >> for csh/tcsh are in /etc/csh.cshrc >> >> for root, it reads the environment settings exclusively from /root/.bashrc >> to set the hard limit specify a -H for bash... >> i.e.: >> >> #ulimit -H -s 4096 >> (this hard sets the limit of the stack size to 4096k in bash/sh) >> >> for roo it reads the env from /root/.cshrc exclusively for csh/tcsh >> #limit -H stacksize 4096k >> (this hard sets the limit of the stack size to 4096k in tcsh/csh) >> > >I see there is a file called /etc/security/limits.conf. >How do the shell settings interact with what's there? > >Just curious. > > >Wes > > > >_______________________________________________ >Axp-list mailing list >Axp-list@redhat.com >https://listman.redhat.com/mailman/listinfo/axp-list >