{"id":3844,"date":"2022-12-20T17:20:14","date_gmt":"2022-12-20T20:20:14","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/pam_rhosts-man8\/"},"modified":"2022-12-20T17:20:14","modified_gmt":"2022-12-20T20:20:14","slug":"pam_rhosts-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/pam_rhosts-man8\/","title":{"rendered":"PAM_RHOSTS (man8)"},"content":{"rendered":"<h1 align=\"center\">PAM_RHOSTS<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#MODULE TYPES PROVIDED\">MODULE TYPES PROVIDED<\/a><br \/> <a href=\"#RETURN VALUES\">RETURN VALUES<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">pam_rhosts \u2212 The rhosts PAM module<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"20%\">\n<p style=\"margin-top: 1em\"><b>pam_rhosts.so<\/b><\/p>\n<\/td>\n<td width=\"69%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This module performs the standard network authentication for services, as used by traditional implementations of <b>rlogin<\/b> and <b>rsh<\/b> etc.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The authentication mechanism of this module is based on the contents of two files; \/etc\/hosts.equiv (or and ~\/.rhosts. Firstly, hosts listed in the former file are treated as equivalent to the localhost. Secondly, entries in the user&#8217;s own copy of the latter file is used to map &#8220;<i>remote\u2212host remote\u2212user<\/i>&#8221; pairs to that user&#8217;s account on the current host. Access is granted to the user if their host is present in \/etc\/hosts.equiv and their remote account is identical to their local one, or if their remote account has an entry in their personal configuration file.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The module authenticates a remote user (internally specified by the item <i>PAM_RUSER<\/i> connecting from the remote host (internally specified by the item <b>PAM_RHOST<\/b>). Accordingly, for applications to be compatible this authentication module they must set these items prior to calling <b>pam_authenticate()<\/b>. The module is not capable of independently probing the network connection for such information.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>debug<\/b><\/p>\n<p style=\"margin-left:17%;\">Print debug information.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>silent<\/b><\/p>\n<p style=\"margin-left:17%;\">Don&#8217;t print informative messages.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>superuser=<\/b><i>account<\/i><\/p>\n<p style=\"margin-left:17%;\">Handle <i>account<\/i> as root.<\/p>\n<h2>MODULE TYPES PROVIDED <a name=\"MODULE TYPES PROVIDED\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Only the <b>auth<\/b> module type is provided.<\/p>\n<h2>RETURN VALUES <a name=\"RETURN VALUES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">PAM_AUTH_ERR<\/p>\n<p style=\"margin-left:17%;\">The remote host, remote user name or the local user name couldn&#8217;t be determined or access was denied by .rhosts file.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">PAM_USER_UNKNOWN<\/p>\n<p style=\"margin-left:17%;\">User is not known to system.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">To grant a remote user access by \/etc\/hosts.equiv or .rhosts for <b>rsh<\/b> add the following lines to \/etc\/pam.d\/rsh:<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">#%PAM\u22121.0 <br \/> # <br \/> auth required pam_rhosts.so <br \/> auth required pam_nologin.so <br \/> auth required pam_env.so <br \/> auth required pam_unix.so<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>rootok<\/b>(3), <b>hosts.equiv<\/b>(5), <b>rhosts<\/b>(5), <b>pam.conf<\/b>(5), <b>pam.d<\/b>(5), <b>pam<\/b>(8)<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">pam_rhosts was written by Thorsten Kukuk <kukuk@thkukuk.de><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  pam_rhosts \u2212 The rhosts PAM module <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,939],"class_list":["post-3844","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-pam_rhosts"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3844"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3844\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}