diff options
author | Karel Zak | 2012-08-29 17:34:26 +0200 |
---|---|---|
committer | Karel Zak | 2012-09-04 17:00:31 +0200 |
commit | 7ec6adb1cc00719b10b21a732474fc444acaac95 (patch) | |
tree | 87e0d1910afdea7216f7b887fc3b79e4cea19687 /.gitignore | |
parent | su: move generic su code to su-common.c (diff) | |
download | kernel-qcow2-util-linux-7ec6adb1cc00719b10b21a732474fc444acaac95.tar.gz kernel-qcow2-util-linux-7ec6adb1cc00719b10b21a732474fc444acaac95.tar.xz kernel-qcow2-util-linux-7ec6adb1cc00719b10b21a732474fc444acaac95.zip |
runuser: new command (derived from su(1))
This command is based on su(1), the differences:
- based on Fedora runuser su(1) patch
- not installed with suid rights
- allowed for root users only
- don't ask for password
- uses PAM session, for example:
$ cat /etc/pam.d/runuser
auth sufficient pam_rootok.so
session optional pam_keyinit.so revoke
session required pam_limits.so
session required pam_unix.so
$ cat /etc/pam.d/runuser-l
auth include runuser
session optional pam_keyinit.so force revoke
session include runuser
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index fbc563632..5be008f58 100644 --- a/.gitignore +++ b/.gitignore @@ -138,6 +138,7 @@ tests/run.sh.trs /resizepart /rev /rtcwake +/runuser /sample-mkfs /sample-partitions /sample-superblocks |