summaryrefslogtreecommitdiff
path: root/lib/libpam/modules/pam_unix/pam_unix.8
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpam/modules/pam_unix/pam_unix.8')
-rw-r--r--lib/libpam/modules/pam_unix/pam_unix.84
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpam/modules/pam_unix/pam_unix.8 b/lib/libpam/modules/pam_unix/pam_unix.8
index c1fd29521814..93b0fa7bf55e 100644
--- a/lib/libpam/modules/pam_unix/pam_unix.8
+++ b/lib/libpam/modules/pam_unix/pam_unix.8
@@ -97,7 +97,7 @@ the user is prompted for another password.
This option will require the user
to authenticate themself as the user
given by
-.Xr getuid 2 ,
+.Xr getlogin 2 ,
not as the account they are attempting to access.
This is primarily for services like
.Xr su 1 ,
@@ -140,7 +140,7 @@ password database.
.El
.Sh SEE ALSO
.Xr passwd 1 ,
-.Xr getuid 2 ,
+.Xr getlogin 2 ,
.Xr crypt 3 ,
.Xr syslog 3 ,
.Xr pam.conf 5 ,