diff options
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | pam.d_urpmi.update | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -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 |