summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libpam/modules/pam_ssh/pam_ssh.84
-rw-r--r--lib/libpam/modules/pam_unix/pam_unix.84
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpam/modules/pam_ssh/pam_ssh.8 b/lib/libpam/modules/pam_ssh/pam_ssh.8
index c1fd29521814..93b0fa7bf55e 100644
--- a/lib/libpam/modules/pam_ssh/pam_ssh.8
+++ b/lib/libpam/modules/pam_ssh/pam_ssh.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 ,
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 ,