Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2001 15:18:35 +0800 (SGT)
From:      Chan Tur Wei <twchan@singnet.com.sg>
To:        <stable@freebsd.org>
Subject:   .login_conf can overwrite values from /etc/login.conf
Message-ID:  <20010514151159.X39013-100000@zaapth.twnet.org>

next in thread | raw e-mail | index | archive | help
Hi,

Not sure if this has been brought up before, but .login_conf can apparently
overwrite values in the system's /etc/login.conf.

E.g.:

/etc/login.conf contains:

	default:\
		:blahblah:\
		:filesize=1M:\
		:blahblahblah:

User twchan has no active .login_conf, and logs into the system:

	zaapth:~> limits
	Resource limits (current):
	  cputime          infinity secs
	  filesize             1024 kb
	  ...


Next, twchan changes his ~/.login_conf to:

	me:\
		:blah:

	default:\
		:filesize=unlimited:

And the result is:

	zaapth:~> limits
	Resource limits (current):
	  cputime          infinity secs
	  filesize         infinity kb
	  ...

Is this really the intended effect?  It feels like a big bug to me...


Regards

  -T.W.Chan-




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010514151159.X39013-100000>