From owner-freebsd-questions@freebsd.org Sun Nov 6 10:15:58 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E962AC33A1A for ; Sun, 6 Nov 2016 10:15:58 +0000 (UTC) (envelope-from rockyhotas@post.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.gmx.com", Issuer "thawte SSL CA - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A086330C for ; Sun, 6 Nov 2016 10:15:58 +0000 (UTC) (envelope-from rockyhotas@post.com) Received: from [87.0.235.228] by 3capp-mailcom-lxa11.server.lan (via HTTP); Sun, 6 Nov 2016 11:15:56 +0100 MIME-Version: 1.0 Message-ID: From: "Rocky Hotas" To: freebsd-questions@freebsd.org Subject: Files in /etc/pam.d/ Content-Type: text/plain; charset=UTF-8 Date: Sun, 6 Nov 2016 11:15:56 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K0:Gk+tdklwuiaNxG5RJ5M1EpqwLYJxoRlNf3SbxqE0IOf 0BYfuqZ0STWa/5v88X9SZhzB6320dV1Yza2KVUdsROJyX1QELY m5HyNJny8UnwPd+eK0V2IaoHNRY28rFTL/8u4yMST60YpnWxQZ QPN0FTDKSkbI2pkChjHSzBHLAByEeG+3wqwuJgrQxhrxlF1ht+ HJh1eCSPDNladJ/YB5/iAlbStQTqju+wksvc8A2rKEiGWOHFNY DxU7gJ403yoACngRxWbeyiWqxnpxbs4P8me1hN12TIJlPNp76L b9MRSvwxwaLwzoehDLizWb6SOdi X-UI-Out-Filterresults: notjunk:1;V01:K0:IxOAsObHc6Q=:TcrC6yr9MTI2Gp34hnroxv 4IKODKDtUVVgHwjjDLCCSHd6RYJ1k+nhc2D94ngjRWPrh5LNADaYpa2sjOyzbGGC0NkN9+FHf HSu1imzWiWouny9K1Ox2UDL6P/uIo+TenmnIzH+lCLLQN/89PrkLusmXJ6SdSb+XOHVskRPyv VqHDjhyELtNa3ZefuWI5K4NObsh8kSzDegv5yk5We1Mv8z8vndTCPFk2UKs6ZB44I1s/lK5IA 97Or7EQ57YCcX3bvRB+sCvcXITcJ6mOaNcaMn51NoJZ3kldLzSjHvu37i+iJgMRzlLJWifaVz YxoCQAu5jC/d1Z4NBGG1Oa+QXbbb1JTqottwS4LlTlR/0Ey5cmZPkSQF3uH3CwBHKayLNfpF6 nlvyzrvdvBZqsCjxP7kDBVZXyfGAcy/5chfLuekB+6efDKX/J05f3D+dhkKXU/hYXEvPEwLBZ lqp6mv+ysw== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2016 10:15:59 -0000 Hello! The directory /etc/pam.d/ contains PAM policies for services. Some are pretty clear and unambiguous: /etc/pam.d/sshd is related to the ssh listening service. But some other are not. For example: in that directory, "login", "passwd" and "system" refer to very similar fields. So, I would like to ask: - What exactly is the scope of *each* of them? Does exists a documentation about it? - What is (if any) the hierarchy followed by them? Let's say that "system" (which contains system-wide login policy) and "sshd" have different statements: which one will prevail? I have not found an answer to these questions on documentation (https://www.freebsd.org/doc/en_US.ISO8859-1/articles/pam/index.html). Moreover, nor "man pam.d" neither /etc/pam.d/README contain information about it. Bye! Rocky