* ulimits: how to set defaults systemwide
@ 2000-08-14 4:00 Harald Finster
2000-08-14 4:00 ` Eckhardt Wallmeroth
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Harald Finster @ 2000-08-14 4:00 UTC (permalink / raw)
Hi,
how can I set default ulimits systemwide for all users (as root)?
'man' says, that the ulimit command 'affects only the current
execution environment'.
So, how can 'root' set this for an other user.
Thanks for any hint
Harald
--
Harald Finster
-
Windoze can be used on the North-Pole without any problems,
... because a frozen computer can't freeze
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: ulimits: how to set defaults systemwide
2000-08-14 4:00 ulimits: how to set defaults systemwide Harald Finster
@ 2000-08-14 4:00 ` Eckhardt Wallmeroth
2000-08-15 4:00 ` Adam Price
2000-08-15 4:00 ` Ralf Eichmann
2 siblings, 0 replies; 5+ messages in thread
From: Eckhardt Wallmeroth @ 2000-08-14 4:00 UTC (permalink / raw)
the initial values for these limits are set via /etc/sysconfigtab. See the
subsystem 'proc' for their actual values (sysconfig -q proc).
The 'per-proc-...' values are what a process gets after login. They can be
changed to lower values or upto their 'max-per-proc-...' counterparts via
the ulimit command or the setrlimit() systemcall.
The values are inherited during fork(). You can *not* change their values
from within a foreign process.
Eckhardt
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ulimits: how to set defaults systemwide
2000-08-14 4:00 ulimits: how to set defaults systemwide Harald Finster
2000-08-14 4:00 ` Eckhardt Wallmeroth
@ 2000-08-15 4:00 ` Adam Price
2000-08-15 4:00 ` Ralf Eichmann
2 siblings, 0 replies; 5+ messages in thread
From: Adam Price @ 2000-08-15 4:00 UTC (permalink / raw)
Harald Finster wrote in message <3997BEF5.D75B22AF@ave.ac.agit.de>...
>
>Hi,
>
>how can I set default ulimits systemwide for all users (as root)?
>'man' says, that the ulimit command 'affects only the current
>execution environment'.
>So, how can 'root' set this for an other user.
On a 5.0a system with enhanced security, you can set limits in the auth database,
look at the man pages for prpasswd and edauth, in particular look for the u_rlimit_* attributes.
Actually having just gone to look these attributes seem to exist in 4.0f too.
Hope this helps
Adam Price
PS You can set these in a template for groups of users too.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ulimits: how to set defaults systemwide
2000-08-14 4:00 ulimits: how to set defaults systemwide Harald Finster
2000-08-14 4:00 ` Eckhardt Wallmeroth
2000-08-15 4:00 ` Adam Price
@ 2000-08-15 4:00 ` Ralf Eichmann
2000-08-15 4:00 ` Harald Finster
2 siblings, 1 reply; 5+ messages in thread
From: Ralf Eichmann @ 2000-08-15 4:00 UTC (permalink / raw)
Harald Finster schrieb:
>
> Hi,
>
> how can I set default ulimits systemwide for all users (as root)?
> 'man' says, that the ulimit command 'affects only the current
> execution environment'.
> So, how can 'root' set this for an other user.
What about /etc/csh.login (for csh) and /etc/profile (for ksh)? Of
course, users can change these limits afterwards.
Regards,
Ralf
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ulimits: how to set defaults systemwide
2000-08-15 4:00 ` Ralf Eichmann
@ 2000-08-15 4:00 ` Harald Finster
0 siblings, 0 replies; 5+ messages in thread
From: Harald Finster @ 2000-08-15 4:00 UTC (permalink / raw)
Ralf Eichmann wrote:
>
> What about /etc/csh.login (for csh) and /etc/profile (for ksh)? Of
> course, users can change these limits afterwards.
you can change some of them, but not all (no idea, where
this is documented and how to modify the others).
I have been fumbling with sysconfig sysconfigdb and
the 'graphical' kernel tuning 'tool' which comes with Tru64.
None of them seems to have any effect - even after rebooting the box.
So, I will give up this stuff and do the 'real' work
on my good old linux box.
Greetings and thanks to everyone who replied
Harald
--
Harald Finster
-
Windoze can be used on the North-Pole without any problems,
... because a frozen computer can't freeze
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-08-15 4:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-14 4:00 ulimits: how to set defaults systemwide Harald Finster
2000-08-14 4:00 ` Eckhardt Wallmeroth
2000-08-15 4:00 ` Adam Price
2000-08-15 4:00 ` Ralf Eichmann
2000-08-15 4:00 ` Harald Finster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox