[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ulimit question



This one time, at band camp, Kenneth Macdonald Karlsen said:
> 
> 
> 
> Stephen Gran wrote:
> 
> >Hello all,
> >I've been chasing a bug around, trying to figure out what's causing
> >it.  When I am in console mode ulimit -a shows:
> >thought, and grep'ing for ulimit both through /etc/ and ~/ don't turn
> >up anything.  I am running a mix of sid and woody, on a 2.4.18 kernel
> >(with CONFIG_QUOTA unset, no less).  My X session is sawfish & gnome,
> >and I use KDM as a login manager.  I am at a loss, as I can't find any
> >mention of ulimit, sigxfsz, rlimit, or anything else in the various
> >places I've looked.  
> >Somebody, please smack me with the clue bat, as this is preenting me
> >from getting some things done when in an X session, and is mildly
> >annoying.
> >
> >Thanks in advance,
> >Steve
> >
> 
> I had the problem when i logged in with ssh. Have a look at /etc/login.defs.
> I thik it was there i fixed the problem.
> Kenneth
OK - thanks for the suggestion, it led me chasing around some files in
/etc/, and I finally stumbled on /etc/security/limits.conf -
commenting out the file size restriction fixed my problem, but now I'm
curious - this restriction affected my X session and ssh logins, but
not console logins.  Are non-network connections not affected by the
files in /etc/security/?  Or is it that the default "trust the console
user" overrides this?  I am just curious if I should file this as a
bug, or not bother the maintainer with a _feature_not_bug_ type of
thing.
Thanks again, all.
Steve
-- 
>  Where in the US is Linus?

He was in the "Promise Land".
	-- David S. Miller <davem@caip.rutgers.edu>

Attachment: pgpHtlYx2vTRC.pgp
Description: PGP signature


Reply to: