* How to set Hard limits in /etc/profile (complement)
@ 1999-06-23 11:54 Marie-Francoise Thiry
0 siblings, 0 replies; only message in thread
From: Marie-Francoise Thiry @ 1999-06-23 11:54 UTC (permalink / raw)
To: tru64-unix-managers
> Hello,
>
> We are running Tru64-unix v4.0E on alpha servers GS140.
> We want to reduce resource limits (cpu time, memory....) soft and hard
> at any interactive login.
> So we have added in /etc/profile commands 'ulimit -S ...' and 'ulimit -H...'.
> The problem is that 'ulimit -H..' seems to be allowed only for superuser
> even for decreasing current limit.(ulimit is here the imbedded shell command)
> As /etc/profile is executed in behalf of the user's login, we are only
> able to reduce soft limits. And a malicious user can increase them quickly.
>
> Question: how to reduce hard limits at login time for sh and ksh users.
> PS: it is OK for csh users.
> Thanks ,
>
As of first answers, I think there is a little misunderstanding of
what I want to do.
I don't want to decrease hard limits in the kernel, as I want these reduced
limits only in interactive usage. Batch jobs ( using LSF) should not
be limited obviously. That's why it has to be done in /etc/profile.
Thanks,
> ================================================
> Marie-Francoise Devillers-Thiry - System .
> Brussels Free Universities Computer Center (ULB)- CP 197.
> 50,Av. F.D. Roosevelt, B-1050 Brussels, BELGIUM.
>
> Email : MF.Devillers@ulb.ac.be Tel : ++32 2 6503728 Fax : ++32 2 6503740
>
================================================
Marie-Francoise Devillers-Thiry - System .
Brussels Free Universities Computer Center (ULB)- CP 197.
50,Av. F.D. Roosevelt, B-1050 Brussels, BELGIUM.
Email : MF.Devillers@ulb.ac.be Tel : ++32 2 6503728 Fax : ++32 2 6503740
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-06-23 11:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-23 11:54 How to set Hard limits in /etc/profile (complement) Marie-Francoise Thiry
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox