From owner-svn-src-head@FreeBSD.ORG Fri Nov 13 11:19:26 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 950E4106566C; Fri, 13 Nov 2009 11:19:26 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8334F8FC18; Fri, 13 Nov 2009 11:19:26 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nADBJQaC064514; Fri, 13 Nov 2009 11:19:26 GMT (envelope-from des@svn.freebsd.org) Received: (from des@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nADBJQvf064512; Fri, 13 Nov 2009 11:19:26 GMT (envelope-from des@svn.freebsd.org) Message-Id: <200911131119.nADBJQvf064512@svn.freebsd.org> From: Dag-Erling Smorgrav Date: Fri, 13 Nov 2009 11:19:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r199248 - head/lib/libpam/modules/pam_unix X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2009 11:19:26 -0000 Author: des Date: Fri Nov 13 11:19:26 2009 New Revision: 199248 URL: http://svn.freebsd.org/changeset/base/199248 Log: Note that nullok should not be used by processes that can't access the password database. PR: bin/126650, misc/140514 MFC after: 1 week Modified: head/lib/libpam/modules/pam_unix/pam_unix.8 Modified: head/lib/libpam/modules/pam_unix/pam_unix.8 ============================================================================== --- head/lib/libpam/modules/pam_unix/pam_unix.8 Fri Nov 13 09:57:50 2009 (r199247) +++ head/lib/libpam/modules/pam_unix/pam_unix.8 Fri Nov 13 11:19:26 2009 (r199248) @@ -105,6 +105,17 @@ sufficient. If the password database has no password for the entity being authenticated, then this option will forgo password prompting, and silently allow authentication to succeed. +.Pp +.Sy NOTE: +If +.Nm +is invoked by a process that does not have the privileges required to +access the password database (in most cases, this means root +privileges), the +.Cm nullok +option may cause +.Nm +to allow any user to log in with any password. .It Cm local_pass Use only the local password database, even if NIS is in use. This will cause an authentication failure if the system is configured