Subject: Re: Can't login or su when using login.conf?
To: None <netbsd-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: netbsd-users
Date: 11/08/2005 21:01:56
In article <20051108091022.GA596@yenn.underlegend.net>,
Dominik Bialy  <dominik@underlegend.net> wrote:
>-=-=-=-=-=-
>
>On Sun, Nov 06, 2005 at 01:12:53PM +0100, Florian Stoehr wrote:
>> On Sat, 5 Nov 2005, Cheese Lottery wrote:
>> 
>> >On 11/5/05, Christos Zoulas <christos@zoulas.com> wrote:
>> >>This example works for me. Is there anything else in /var/log/authlog?
>> >
>> >/var/log/authlog:
>> >Nov  5 18:59:24 8300 su: default: unknown class
>> >Nov  5 18:59:24 8300 su: pam_acct_mgmt: error in service module
>> >
>> >Nothing out of the ordinary from /var/log/messages, but there was this
>> >in /var/log/cron:
>> >Nov  5 19:00:00 8300 /usr/sbin/cron[23963]: default: unknown class
>> >Nov  5 19:00:00 8300 /usr/sbin/cron[24154]: default: unknown class
>> >
>> >strange, if I'm the only one.
>> >
>> 
>> Well, you're not.
>
>I had the same problem (I think) with netbsd-3 some time ago, attached
>patch seems to fix it. (It's from -current, the fix to cap_mkdb which
>wasn't pulled up to netbsd-3.)

I've issued a pullup request. Thanks for testing it. This is why it works
for me. In the meantime you can try using -f in cap_mkdb and see if that
fixes your problem.

christos