Subject: Re: what is reading login.conf ?
To: None <tech-userlevel@netbsd.org>
From: Aleksej Saushev <asau@inbox.ru>
List: tech-userlevel
Date: 12/21/2007 23:36:43
Eric Auge <eau@phear.org> writes:

> I came by a strange problem, I'm trying to setup a login class with more
> open files, more resources and so on, nothing fancy...but a bigger
> datasize segment, more open files (yeah firefox...!) :

[login.conf fragment]

> I create a default class in the login.conf file and also add a new class
> (testclass),I "cap_mkdb /etc/login.conf", I add my user to this class, I
> logout and login again (console, no X) and check if my default limits
> (ulimit -a) have been taken into consideration, but they are not.
>
> I check my user is in the right class (user info <username>), i
> logout/login again, but still.. user limit are not taken into consideration.

You have to make login(1) exit, either kill it or press C-d (^D) 
and hold it for some time.  Read getty(8) for more details.


-- 
CKOPO CE3OH...