On Thu, Aug 23, 2012 at 10:47 AM, Bill Kenworthy <bi...@iinet.net.au> wrote: >> > >> Last time I had a problem like this I spent a lot of time googling about >> ulimit/setting_limits/etc and found _nothing_ worth mentioning. This time I >> run "ulimit -v unlimited", but the question is who put the former values >> there? Some hard-coded default? I couldn't find anything in init scripts nor >> in bash rc files. I know that on logout the value is lost (I had to run >> ulimit >> again on chrooting). What is the appropriate file to put "ulimit -v >> unlimited" >> in? Perhaps ~/.bash_profile? And how can root set different hard limits for >> different users? Maybe some bash guru will step in?:) >> > > probably rc.conf, or maybe login.defs depending on per user/or everyone > It seems rc.conf has a variable for ulimit -u, not for the other flags. login.defs has ULIMIT but teh man page just says "Default ulimit value" Ah well...
Thanks J.A.