From 2d070709d20655b5692600360c4ef9199fe4de12 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 8 Nov 2017 03:25:01 +0100 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- pam.d/runuser | 8 ++++++++ pam.d/runuser-l | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 pam.d/runuser create mode 100644 pam.d/runuser-l diff --git a/pam.d/runuser b/pam.d/runuser new file mode 100644 index 00000000..30c2834e --- /dev/null +++ b/pam.d/runuser @@ -0,0 +1,8 @@ +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 diff --git a/pam.d/runuser-l b/pam.d/runuser-l new file mode 100644 index 00000000..76414355 --- /dev/null +++ b/pam.d/runuser-l @@ -0,0 +1,5 @@ +auth include system-local-login +account include system-local-login +password include system-local-login +session optional pam_lastlog.so +session include system-local-login -- 2.39.5