From c424fd834b4845971e9ce5ef3d7325f6f4e6b163 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 18 Aug 2016 11:12:44 +0200 Subject: su, runuser, setpriv: create links between man pages .. and add notes about differences between the utuils. Reported-by: Lennart Poettering Signed-off-by: Karel Zak --- login-utils/runuser.1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'login-utils/runuser.1') 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 -- cgit v1.2.3-55-g7522