Subject: Re: Can't login or su when using login.conf?
To: Cheese Lottery <cheeselottery@gmail.com>
From: Florian Stoehr <netbsd@wolfnode.de>
List: netbsd-users
Date: 11/06/2005 13:12:53
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 just tried this /etc/login.conf:

default|default class:\
         :datasize=1048576:

Then I ran "cap_mkdb login.conf"

Now, this happens:

flo@mini [~] # su
Password:
su: pam_acct_mgmt: error in service module
Segmentation fault
flo@mini [~] #

This is 3.0_BETA on macppc

-Florian