diff options
author | Michael E Brown <michael_e_brown@dell.com> | 2007-12-06 12:21:52 -0600 |
---|---|---|
committer | Michael E Brown <michael_e_brown@dell.com> | 2007-12-06 12:21:52 -0600 |
commit | 5cce73a26e3ce6877c2f429f9a34ce4515442279 (patch) | |
tree | 798e5fa75f7ce996e8b8bcc012d0f433374b79e8 /etc | |
parent | b572e9d52906ed969e790f1c896a7cefa6eeeb27 (diff) | |
download | mock-5cce73a26e3ce6877c2f429f9a34ce4515442279.tar.gz mock-5cce73a26e3ce6877c2f429f9a34ce4515442279.tar.xz mock-5cce73a26e3ce6877c2f429f9a34ce4515442279.zip |
convert to use consolehelper rather than setuid wrapper.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/consolehelper/mock | 4 | ||||
-rw-r--r-- | etc/pam/mock | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/etc/consolehelper/mock b/etc/consolehelper/mock new file mode 100644 index 0000000..5c2ea24 --- /dev/null +++ b/etc/consolehelper/mock @@ -0,0 +1,4 @@ +USER=root +PROGRAM=/usr/sbin/mock.py +SESSION=false +FALLBACK=false diff --git a/etc/pam/mock b/etc/pam/mock new file mode 100644 index 0000000..4b566af --- /dev/null +++ b/etc/pam/mock @@ -0,0 +1,13 @@ +#%PAM-1.0 +auth sufficient pam_rootok.so +auth sufficient pam_succeed_if.so user ingroup mock use_uid quiet +# Uncomment the following line to implicitly trust users in the "wheel" group. +#auth sufficient pam_wheel.so trust use_uid +# Uncomment the following line to require a user to be in the "wheel" group. +#auth required pam_wheel.so use_uid +auth include system-auth +account sufficient pam_succeed_if.so user ingroup mock use_uid quiet +account include system-auth +password include system-auth +session include system-auth +session optional pam_xauth.so |