Skip site navigation (1)Skip section navigation (2)
Date:      18 Apr 2002 17:39:07 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Bill Fenner <fenner@research.att.com>
Cc:        current@freebsd.org
Subject:   Re: pam_unix and missing function warnings
Message-ID:  <xzp3cxtqan8.fsf@flood.ping.uio.no>
In-Reply-To: <200204181500.IAA12591@windsor.research.att.com>
References:  <200204181500.IAA12591@windsor.research.att.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Fenner <fenner@research.att.com> writes:
> Part of the commit log for rev 1.32 of pam_unix.c says:
> 
>   - remove dummy functions since OpenPAM handles missing service
>     functions
> 
> However, OpenPAM is noisy about handling missing service functions:
> 
> Apr 17 11:21:31 stash login: in openpam_dispatch(): pam_unix.so: no pam_sm_open_session() 
> Apr 17 21:18:33 stash login: in openpam_dispatch(): pam_unix.so: no pam_sm_close_session() 
> 
> so perhaps the stubs should go back, or OpenPAM should learn to be less
> noisy about the missing functions?

Actually, the bug is in the PAM configuration files that list pam_unix
as a "session" module while pam_unix doesn't provide session
management services.  PAM is correct in whining about that.  The
solution is to remove lines like this from /etc/pam.d/*:

session         required        pam_unix.so

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?xzp3cxtqan8.fsf>