From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SK2YW-0005y6-9h for garchives@archives.gentoo.org; Tue, 17 Apr 2012 07:10:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69AC2E0508; Tue, 17 Apr 2012 07:10:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D7C02E0508 for ; Tue, 17 Apr 2012 07:10:19 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4657D1B400E for ; Tue, 17 Apr 2012 07:10:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 66945E5403 for ; Tue, 17 Apr 2012 07:10:17 +0000 (UTC) From: "Paweł Hajdan" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Paweł Hajdan" Message-ID: <1332267047.2b4bd18ae09dbe7d1e0ea07c2ca0a7fe891c621e.phajdan.jr@gentoo> Subject: [gentoo-commits] proj/pambase:master commit in: / X-VCS-Repository: proj/pambase X-VCS-Files: .gitignore Makefile login.in passwd.in su.in X-VCS-Directories: / X-VCS-Committer: phajdan.jr X-VCS-Committer-Name: Paweł Hajdan X-VCS-Revision: 2b4bd18ae09dbe7d1e0ea07c2ca0a7fe891c621e X-VCS-Branch: master Date: Tue, 17 Apr 2012 07:10:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: f8ff9f0e-f167-4bcd-97a1-62246884841b X-Archives-Hash: 98c251dfe1199c17c4d8749167142279 commit: 2b4bd18ae09dbe7d1e0ea07c2ca0a7fe891c621e Author: Pawel Hajdan, Jr gentoo org> AuthorDate: Tue Mar 20 18:10:40 2012 +0000 Commit: Pawe=C5=82 Hajdan gentoo org> CommitDate: Tue Mar 20 18:10:47 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/pambase.git;a= =3Dcommit;h=3D2b4bd18a Add pam.d files for login, passwd and su. Those should be shared between shadow implementations. --- .gitignore | 3 +++ Makefile | 2 +- login.in | 6 ++++++ passwd.in | 6 ++++++ su.in | 12 ++++++++++++ 5 files changed, 28 insertions(+), 1 deletions(-) diff --git a/.gitignore b/.gitignore index 81b97ba..2c63905 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +login +passwd +su system-auth system-login system-local-login diff --git a/Makefile b/Makefile index 31482e8..7d3e22a 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ CPP=3Dcpp =20 # The pam.d file to create -PAMD=3Dsystem-auth system-login system-local-login system-remote-login s= ystem-services other +PAMD=3Dlogin passwd su system-auth system-login system-local-login syste= m-remote-login system-services other =20 # command for git (the DVCS); set this to "true" to ignore GIT support # (i.e.: in the ebuild) diff --git a/login.in b/login.in new file mode 100644 index 0000000..13abd27 --- /dev/null +++ b/login.in @@ -0,0 +1,6 @@ +auth required pam_securetty.so +auth include system-local-login + +account include system-local-login +password include system-local-login +session include system-local-login diff --git a/passwd.in b/passwd.in new file mode 100644 index 0000000..7eabf3d --- /dev/null +++ b/passwd.in @@ -0,0 +1,6 @@ +auth sufficient pam_rootok.so +auth include system-auth + +account include system-auth + +password include system-auth diff --git a/su.in b/su.in new file mode 100644 index 0000000..121bb9a --- /dev/null +++ b/su.in @@ -0,0 +1,12 @@ +auth sufficient pam_rootok.so +auth required pam_wheel.so use_uid +auth include system-auth + +account include system-auth + +password include system-auth + +session include system-auth +session required pam_env.so +session optional pam_xauth.so +