summaryrefslogtreecommitdiffstats
path: root/login-utils/runuser.1
diff options
context:
space:
mode:
authorKarel Zak2016-08-18 11:12:44 +0200
committerKarel Zak2016-08-18 11:12:44 +0200
commitc424fd834b4845971e9ce5ef3d7325f6f4e6b163 (patch)
tree72efb5a07df2b5aecc886bc4d775d6fb6c69c967 /login-utils/runuser.1
parenttests: fix losetup tests for --nooverlap (diff)
downloadkernel-qcow2-util-linux-c424fd834b4845971e9ce5ef3d7325f6f4e6b163.tar.gz
kernel-qcow2-util-linux-c424fd834b4845971e9ce5ef3d7325f6f4e6b163.tar.xz
kernel-qcow2-util-linux-c424fd834b4845971e9ce5ef3d7325f6f4e6b163.zip
su, runuser, setpriv: create links between man pages
.. and add notes about differences between the utuils. Reported-by: Lennart Poettering <lennart@poettering.net> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/runuser.1')
-rw-r--r--login-utils/runuser.17
1 files changed, 6 insertions, 1 deletions
diff --git a/login-utils/runuser.1 b/login-utils/runuser.1
index 2f88f8157..128758c84 100644
--- a/login-utils/runuser.1
+++ b/login-utils/runuser.1
@@ -26,6 +26,10 @@ The command
.B runuser
does not have to be installed with suid permissions.
.PP
+If the PAM session is not required then recommended solution is to use
+.BR setpriv (1)
+command.
+.PP
When called without arguments,
.B runuser
defaults to running an interactive shell as
@@ -223,7 +227,8 @@ global logindef config file
.BR pam (8),
.BR shells (5),
.BR login.defs (5),
-.BR su (1)
+.BR su (1),
+.BR setpriv (1)
.SH HISTORY
This \fB runuser\fR command was
derived from coreutils' \fBsu\fR, which was based on an implementation by