Subject: Re: login_cap(2)
To: None <current-users@netbsd.org>
From: Aaron J. Grier <agrier@poofygoof.com>
List: current-users
Date: 01/24/2001 18:55:51
On Wed, Jan 24, 2001 at 09:41:04PM +0100, Manuel Bouyer wrote:
> On Tue, Jan 23, 2001 at 02:04:08PM -0800, john heasley wrote:
> > [...]
> >
> > since login_cap seems half-baked (and useless for my purposes), i'd
> > prefer to just disable it. am i missing something?
>
> I think it's not used if you don't have a login.conf file.
not quite... I had problems with OpenSSH calling login_cap and getting
nothing back which produced errors like so:
Jan 8 15:24:59 kaben2 sshd[11428]: Accepted rsa for aaron from 10.0.0.202 port 1022
Jan 8 15:24:59 kaben2 sshd[11428]: error: unable to get login class
I "fixed" it by disabling use of login_cap routines in OpenSSH.
an example login.conf in /usr/share/examples would be very helpful.
--
Aaron J. Grier | "Not your ordinary poofy goof." | agrier@poofygoof.com
"Being wet and standing in a salted bath while rinsing the inside of
your hairdryer with a silver spoon is a very stupid thing to do."
-- Dave Krooshof