Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Setting ulimit values in files on Redhat AS 2.1
Scott Lurndal wrote:
> Steve <ThisOne_at_Aint.valid> writes:
>
>>Scott Lurndal wrote: >> >>>Steve <ThisOne_at_Aint.valid> writes:
>>>>Personally, I'd put them in /etc/profile. This is always run for all >>>>users, and with root privileges. That way, you can raise them up to the max. >>> >>> >>>/etc/profile is executed in the context of the logged in user, not root. >>>You cannot raise the ulimit using /etc/profile, only lower it. >>> >>> >>>scott >>> >>> >>> >>>>Steve >> >>I was about to deny 'hotly' this statement, but thought to check first. >>Glad I did! As you may have guessed, this used to be the way it was >>done, at least on commercial *nixes ( Solaris, HP-UX, DEC Ultrix ).
init execs /etc/profile which then execs the shell of your choice. That's why it's always run, irrespective of login shell, and was ( and I am certain of this! ), run as root.
Steve.
>
>
>>Either it has been changed, or Linux differs from the old System V in >>this way. >> >>It's always good to learn something new, even at the weekend! >> >>Cheers, >> >>SteveReceived on Sat Jul 03 2004 - 03:26:53 CDT