From: Kurt_Ludwig@student.uml.edu (Kurt Ludwig)
To: axp-list@redhat.com
Subject: Re: limit or ulimit
Date: Mon, 7 Aug 2000 17:24:12 -0400 [thread overview]
Message-ID: <7736CF5196C.AAA1E01@student.uml.edu> (raw)
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" <wsb@paralleldata.com> 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
>
next reply other threads:[~2000-08-07 21:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-07 21:24 Kurt Ludwig [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-08-07 13:09 limit or ulimit Kurt Ludwig
2000-08-07 20:52 ` W Bauske
2000-08-07 21:08 ` Michal Jaegermann
2000-08-07 9:58 Hanchul Kim
2000-08-08 2:11 ` Stuart Midgley
2000-08-08 2:40 ` Hanchul Kim
2000-08-08 2:45 ` Stuart Midgley
2000-08-08 6:58 ` Hanchul Kim
2000-08-08 12:41 ` Richard June
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox