From: "Paweł Hajdan" <phajdan.jr@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pambase:master commit in: /
Date: Tue, 17 Apr 2012 07:10:17 +0000 (UTC) [thread overview]
Message-ID: <1332267047.2b4bd18ae09dbe7d1e0ea07c2ca0a7fe891c621e.phajdan.jr@gentoo> (raw)
commit: 2b4bd18ae09dbe7d1e0ea07c2ca0a7fe891c621e
Author: Pawel Hajdan, Jr <phajdan.jr <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 20 18:10:40 2012 +0000
Commit: Paweł Hajdan <phajdan.jr <AT> gentoo <DOT> org>
CommitDate: Tue Mar 20 18:10:47 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pambase.git;a=commit;h=2b4bd18a
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=cpp
# The pam.d file to create
-PAMD=system-auth system-login system-local-login system-remote-login system-services other
+PAMD=login passwd su system-auth system-login system-local-login system-remote-login system-services other
# 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
+
next reply other threads:[~2012-04-17 7:10 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-17 7:10 Paweł Hajdan [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-03-13 14:12 [gentoo-commits] proj/pambase:master commit in: / Samuli Suominen
2014-03-13 14:17 Samuli Suominen
2014-03-13 14:40 Samuli Suominen
2015-02-15 4:48 Mike Frysinger
2015-02-15 4:48 Mike Frysinger
2015-02-15 4:48 Mike Frysinger
2015-02-15 4:48 Mike Frysinger
2015-05-17 5:22 Mike Frysinger
2019-04-02 13:11 Mikle Kolyada
2019-11-15 18:09 Mikle Kolyada
2019-11-24 14:37 Mikle Kolyada
2019-11-27 9:27 Mikle Kolyada
2019-11-28 18:21 Mikle Kolyada
2020-03-04 17:32 David Seifert
2020-04-29 21:37 Mikle Kolyada
2020-06-10 11:50 Mikle Kolyada
2020-06-10 11:50 Mikle Kolyada
2020-06-16 16:26 Mikle Kolyada
2020-06-17 18:30 Mikle Kolyada
2020-06-18 10:11 Mikle Kolyada
2020-08-05 6:04 Sam James
2020-08-05 6:13 Sam James
2020-10-12 15:28 Sam James
2021-11-14 11:55 Mikle Kolyada
2023-11-13 6:20 Sam James
2025-02-23 23:46 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1332267047.2b4bd18ae09dbe7d1e0ea07c2ca0a7fe891c621e.phajdan.jr@gentoo \
--to=phajdan.jr@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox