matter what... and yes I have commented-out the umask field in
/etc/profile, and there is none in the test user's .bash_profile,
.profile, and .bashrc. :)
Anyone know the right way to do it?
My second problem... well, it looks like it may be a bug. Note the
following text in /etc/limits:
out to me that I can. :)
My pleasure :)
> One last thing... the original question also was, "how do slackware and
> RedHat set the max vmem usage without using ulimit, /etc/limits, or PAM?"
> Would you happen to know this off-hand? I thought maybe it was compiled
> into th
the exploit, while none of the other ulimit
options did. Therefore I thought I was unable to limit the max vmem using
PAM. Thank you for pointing out to me that I can. :)
One last thing... the original question also was, "how do slackware and
RedHat set the max vmem usage without using
* Jim B said:
> On Tue, 11 Jan 2000, Marek Habersack wrote:
>
> > He can't, true. But shell-based limits aren't particularily good way of
> > setting
> > limits. They are by definition bound to one kind of shell - csh or bash or
> > whatever. In case you, or the user, decideds to change his shell
On Tue, 11 Jan 2000, Marek Habersack wrote:
> He can't, true. But shell-based limits aren't particularily good way of
> setting
> limits. They are by definition bound to one kind of shell - csh or bash or
> whatever. In case you, or the user, decideds to change his shell, you loose
> all the limi
* Jim B said:
> On Mon, 10 Jan 2000, Ethan Benson wrote:
>
> > ulimit does not really protect at all against someone malicious since
> > they are perfectly free to un-ulimit themselves, this is where
> > pam_limits is helpful, it enforces the hard limit and it cannot be
> > ulimited past that.
* Ethan Benson said:
> >
> >Also: I still don't know of any way to set the Virtual Mem usage of a
> >shell without using ulimit (bash) or limit (csh)! Note that it does not
> >appear to be an option in /etc/limits or in pam's limits.conf. Anyone
> >
On 10/1/2000 Jim B wrote:
$ ulimit -v
unlimited
$ ulimit -v 32767
$ ulimit -v
32767
$ ulimit -v 32768
bash: ulimit: cannot modify limit: Operation not permitted
OTOH if you're talking about someone who switches his shell to get around
the limits, that's my whole point. I need to know how to
On Mon, 10 Jan 2000, Ethan Benson wrote:
> ulimit does not really protect at all against someone malicious since
> they are perfectly free to un-ulimit themselves, this is where
> pam_limits is helpful, it enforces the hard limit and it cannot be
> ulimited past that.
Hmmm. How would a user "
On 10/1/2000 Jim B wrote:
Then (in /etc/limits) I set "no limits" on my own accounts:
-
I would actually want to keep at least some of the limits on my own
account as well, just to prevent a runaway process from causing
problems, that is why i am interested in limits so reasona
optional "default"
in /etc/limits, and what I found from the aforementioned machine. The
defaults in /etc/limits are:
#* L2 D6144 R2048 S2048 U32 N32 F16384 T5 C0
However I set the max CPU time to 60 minutes (T60) and max open files to
64 (N64). I figured that any process spawned by a
Subject: Re: /etc/limits
Date: Mon, Jan 10, 2000 at 07:26:19AM +0100
In reply to:Onno Ebbinge
Quoting Onno Ebbinge([EMAIL PROTECTED]):
>| At 06:34 PM 1/9/00 -0500, Jim B wrote:
>| >OK another issue I'm having with setting resource limits. How can I
>| [snip]
On 10/1/2000 Jim B wrote:
If you're running potato then you'd probably want to use PAM and
/etc/security/limits.conf instead.
Look at the files themselves to see how they are set up.
I have figured out how to set these limits up well enough, but I have
a related question, how can i set reaso
gt;OK another issue I'm having with setting resource limits. How can I
> [snip]
> >I look in my /etc/limits and see a way to restrict just about all those
> [snip]
>
> Where can I find more info on /etc/limits ?
>
> Regards,
>
> Onno
At 06:34 PM 1/9/00 -0500, Jim B wrote:
>OK another issue I'm having with setting resource limits. How can I
[snip]
>I look in my /etc/limits and see a way to restrict just about all those
[snip]
Where can I find more info on /etc/limits ?
Regards,
Onno
Yet, I can't figure out how those distros set the
limits. Is it a compile-time option for /bin/login?
I look in my /etc/limits and see a way to restrict just about all those
resources *except* max virtual memory. How can I enforce this
restriction? I know I could use limit in csh and ulimit
Hi all, please see this excerpt from the man page for /etc/limits:
LIMITS(5) LIMITS(5)
NAME
limits - Resource limits definition
DESCRIPTION
The limits file (/etc/limits by default or LIMITS_FILE
defined config.h) describes
17 matches
Mail list logo