[net.unix-wizards] setting per user ulimit

naftoli@aecom.UUCP (Robert N. Berlinger) (04/30/85)

Does anyone know of a good way to set a per user ulimit (usually up).
For some administrative logins this would be nice; for certain logins
(uucp) this is a must.  I realize that I'll probably end up hacking login
to interpret some info in the GCOS field of the password file, but I thought
someone might have some simpler/portable way of doing this.

Thanks in advance...
-- 
Robert Berlinger
...{philabs,cucard,pegasus,ihnp4,rocky2}!aecom!naftoli

twh@mb2c.UUCP (Tim Hitchcock) (05/07/85)

> Does anyone know of a good way to set a per user ulimit (usually up).
> For some administrative logins this would be nice; for certain logins
> (uucp) this is a must.  I realize that I'll probably end up hacking login
> to interpret some info in the GCOS field of the password file, but I thought
> someone might have some simpler/portable way of doing this.
> 
> Thanks in advance...
> -- 
> Robert Berlinger
> ...{philabs,cucard,pegasus,ihnp4,rocky2}!aecom!naftoli



setting the ulimit in the passwd file might work.

twh:rqF8B0SuK7gAg,6/TA:1605:100:ISO-Tim Hitchcock(405103)WX,ISO605;W-130, NWOC:/usra/iso/twh:ulimit=999999 /bin/sh

Let me know if it does as I am no longer a su.