docs/57799: pam_self(8) man page is wrong

Eric van Gyzen vangyzen at stat.duke.edu
Thu Oct 9 14:00:38 UTC 2003


>Number:         57799
>Category:       docs
>Synopsis:       pam_self(8) man page is wrong
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 09 07:00:36 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Eric van Gyzen
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
FreeBSD 5.1-RELEASE

>Description:
The pam_self(8) man page says
    If the current real user ID is non-zero, authentication will fail,
    unless the allow_root option was specified.
but the code -- and my intuition -- says
    if (uid == 0 && !openpam_get_option(pamh, OPT_ALLOW_ROOT))
        return (PAM_AUTH_ERR);

>How-To-Repeat:
N/A

>Fix:
If I correctly understand the intended usage of the pam_self(8) module,
the man page should be corrected to say
    If the current real user ID is zero, authentication will fail,
                                   ^^^^
    unless the allow_root option was specified.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list