blob: 14f0cd6f552a5cdee2a16e19a5bafe35602cbcc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
.\" OpenPAM's pam_rootok man page
.\" Contact me ( mellos@ceid.upatras.gr ) for any corrections or omissions.
.TH PAM_ROOTOK 8 "September 2008" "OpenPAM modules" "OpenPAM modules"
.SH NAME
pam_rootok - The root-only access PAM module
.SH SYNOPSIS
.B pam_rootok.so [\.\.\.]
.SH DESCRIPTION
pam_rootok is a PAM module which returns success only if the real UID of
the authenticating user is 0.
.SH OPTIONS
No options are supported for this module.
.SH FILES
It's common to permit the superuser to be able to su to all users account.
To allow this, add the following line in
.I /etc/pam.d/su
:
.IP
.nf
auth sufficient pam_rootok.so
auth required pam_unix.so
.fi
.SH AUTHOR
Seraphim Mellos <mellos at ceid dot upatras dot gr>
.SH "SEE ALSO"
.BR su (1),
.BR pam (8),
.BR pam.conf (8),
.BR pam.d (8)
|