sudo/sudo-1.6.9p15-pam_rhost.diff

13 lines
364 B
Diff

--- auth/pam.c
+++ auth/pam.c
@@ -203,7 +203,9 @@
*/
(void) pam_set_item(pamh, PAM_USER, pw->pw_name);
(void) pam_set_item(pamh, PAM_RUSER, user_name);
+#if 0 /* we don't care about Solaris bugs */
(void) pam_set_item(pamh, PAM_RHOST, user_host);
+#endif
/*
* Set credentials (may include resource limits, device ownership, etc).