From: "Tarmo Järvi" <tarmoj@iobox.com>
To: zsh-users@sunsite.auc.dk
Subject: Re: process limit/su problem
Date: Thu, 25 Jan 2001 11:38:34 +0000 (GMT+00:00) [thread overview]
Message-ID: <10154045.980422714773.JavaMail.wls@webwl02> (raw)
su - root ?
No :(
>Hello dear list,
>
>I have following lines in /etc/zshenv to prevent fork-bombing etc by
>ordinary users :
>
>if [ `id -gn` = `id -un` -a `id -u` -gt 14 ]
>then
> ulimit -H -u 64 -c 65536 -f 2097152 -n 128
>else
> ulimit -u 2048 -c 65536 -f 4194394 -n 1024
>fi
>
>Everything works nicely except 'su root' (by few selected "power users").
>Usually my server is running about 100 processes owned by root. When I'm
>logged in as, for example, tarmoj and do 'su root', I get following errors:
>
>/etc/zshenv: fork failed: resource temporarily unavailable [33]
>
>So, obviously, the process limit for user is limiting the execution of
>/etc/zshenv etc and thus (as root after 'su' )I have to manually set higher
>process limit and set other variables.
>
>So, my question is, is there any other way to prevent this (otherthan ssh
>root@localhost)?
>
next reply other threads:[~2001-01-25 11:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-25 11:38 Tarmo Järvi [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-01-25 13:42 Tarmo Järvi
2001-01-25 9:36 Joakim Ryden
2001-01-25 9:33 Tarmo Järvi
2001-01-25 12:34 ` Andrej Borsenkow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10154045.980422714773.JavaMail.wls@webwl02 \
--to=tarmoj@iobox.com \
--cc=zsh-users@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).