summaryrefslogtreecommitdiff
path: root/modules/pam_localuser
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_localuser')
-rw-r--r--modules/pam_localuser/README2
-rw-r--r--modules/pam_localuser/pam_localuser.812
-rw-r--r--modules/pam_localuser/pam_localuser.8.xml10
3 files changed, 12 insertions, 12 deletions
diff --git a/modules/pam_localuser/README b/modules/pam_localuser/README
index 50663ead..e4c932cb 100644
--- a/modules/pam_localuser/README
+++ b/modules/pam_localuser/README
@@ -25,7 +25,7 @@ file=/path/passwd
EXAMPLES
-Add the following line to /etc/pam.d/su to allow only local users in group
+Add the following lines to /etc/pam.d/su to allow only local users or group
wheel to use su.
account sufficient pam_localuser.so
diff --git a/modules/pam_localuser/pam_localuser.8 b/modules/pam_localuser/pam_localuser.8
index 1604060b..bb83430c 100644
--- a/modules/pam_localuser/pam_localuser.8
+++ b/modules/pam_localuser/pam_localuser.8
@@ -2,12 +2,12 @@
.\" Title: pam_localuser
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\" Date: 04/01/2016
+.\" Date: 05/18/2017
.\" Manual: Linux-PAM Manual
.\" Source: Linux-PAM Manual
.\" Language: English
.\"
-.TH "PAM_LOCALUSER" "8" "04/01/2016" "Linux-PAM Manual" "Linux\-PAM Manual"
+.TH "PAM_LOCALUSER" "8" "05/18/2017" "Linux-PAM Manual" "Linux\-PAM Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -70,15 +70,15 @@ PAM_SERVICE_ERR
No username was given\&.
.RE
.PP
-PAM_USER_UNKNOWN
+PAM_PERM_DENIED
.RS 4
-User not known\&.
+The user is not listed in the passwd file\&.
.RE
.SH "EXAMPLES"
.PP
-Add the following line to
+Add the following lines to
/etc/pam\&.d/su
-to allow only local users in group wheel to use su\&.
+to allow only local users or group wheel to use su\&.
.sp
.if n \{\
.RS 4
diff --git a/modules/pam_localuser/pam_localuser.8.xml b/modules/pam_localuser/pam_localuser.8.xml
index b06a0bf7..2a8b2e04 100644
--- a/modules/pam_localuser/pam_localuser.8.xml
+++ b/modules/pam_localuser/pam_localuser.8.xml
@@ -106,16 +106,16 @@
<term>PAM_SERVICE_ERR</term>
<listitem>
<para>
- No username was given.
+ No username was given.
</para>
</listitem>
</varlistentry>
<varlistentry>
- <term>PAM_USER_UNKNOWN</term>
+ <term>PAM_PERM_DENIED</term>
<listitem>
<para>
- User not known.
+ The user is not listed in the passwd file.
</para>
</listitem>
</varlistentry>
@@ -127,8 +127,8 @@
<refsect1 id='pam_localuser-examples'>
<title>EXAMPLES</title>
<para>
- Add the following line to <filename>/etc/pam.d/su</filename> to
- allow only local users in group wheel to use su.
+ Add the following lines to <filename>/etc/pam.d/su</filename> to
+ allow only local users or group wheel to use su.
<programlisting>
account sufficient pam_localuser.so
account required pam_wheel.so