summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rw-r--r--pam.d_urpmi.update5
2 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 98417348..6904c3ef 100644
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,7 @@ install: all
install -m644 x-mdv-exec.desktop $(DATADIR)/mimelnk/applications/
mkdir -p $(PREFIX)/etc/security/console.apps/
install -m644 console.apps_urpmi.update $(PREFIX)/etc/security/console.apps/urpmi.update
+ install -m644 pam.d_urpmi.update $(PREFIX)/etc/pam.d/urpmi.update
ln -sf consolehelper $(PREFIX)/usr/bin/urpmi.update
# rules to build a test rpm
diff --git a/pam.d_urpmi.update b/pam.d_urpmi.update
new file mode 100644
index 00000000..f2b63f5a
--- /dev/null
+++ b/pam.d_urpmi.update
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth sufficient pam_rootok.so
+auth required pam_console.so
+account required pam_permit.so
+session optional pam_xauth.so