Skip site navigation (1)Skip section navigation (2)
Date:      21 Jan 2002 18:46:37 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        mark@grondar.za, current@FreeBSD.ORG
Subject:   Re: Step6, corresponding /etc/pam.d/* fixes for review
Message-ID:  <xzp7kqbvbpe.fsf@flood.ping.uio.no>
In-Reply-To: <20020121172526.GB38390@nagual.pp.ru>
References:  <20020121142038.GA36519@nagual.pp.ru> <xzpsn8zwwey.fsf@flood.ping.uio.no> <20020121154244.GC37234@nagual.pp.ru> <xzpbsfnwvfz.fsf@flood.ping.uio.no> <20020121161534.GE37234@nagual.pp.ru> <xzpu1tfvfib.fsf@flood.ping.uio.no> <20020121162726.GH37234@nagual.pp.ru> <xzplmervds6.fsf@flood.ping.uio.no> <20020121172526.GB38390@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
"Andrey A. Chernov" <ache@nagual.pp.ru> writes:
> I am not sure I understand this fully, could you please send two
> typescripts (in the manner you do for login testing) with and without this
> change?

Assuming no ~des/.opiealways,

 - without the change:

des@des ~% login des
otp-md5 496 de6973 ext
Password: <enter>
otp-md5 496 de6973 ext
Password [echo on]: <enter>
Login incorrect
login: <argh!>

 - with the change:

des@des ~% login des
otp-md5 496 de6973 ext
Password: <enter>
otp-md5 496 de6973 ext
Password [echo on]: <enter>
Password: <Unix password>
Last login: Mon Jan 21 17:10:55 on ttypk
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.

FreeBSD 5.0-CURRENT (DES) #124: Sat Jan 12 19:11:47 CET 2002
You have new mail.

One nit, BTW: pam_opieaccess(8) should return PAM_SERVICE_ERR rather
than PAM_USER_UNKNOWN if it can't getpwnam() the user; otherwise,
logging in with a nonexistent user name will fail without a fake
password prompt.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp7kqbvbpe.fsf>