Subject: login.conf without default: entry (was Re: Setting a default ulimit for the whole system?)
To: None <>
From: Klaus Heinz <>
List: netbsd-users
Date: 05/10/2007 22:42:33
Jeremy C. Reed wrote:

> For logins (or other programs using login classes), put in /etc/login.conf 
> for default, like:
> default:datasize=256m:

I have never used login.conf before.

  $ touch /etc/login.conf

on NetBSD 3.1 I see

  May 10 22:34:35 silence login: default: unknown class

on the console. From reading the man page login.conf(5)

  A special class called
  ``default'' will be used (if it exists) if there is no other match.
I would have expected that a file without a "default:" entry should be

Simple adding the line


to login.conf shuts up the complaints.