{"id":3352,"date":"2022-12-20T17:02:25","date_gmt":"2022-12-20T20:02:25","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/consolehelper-man8\/"},"modified":"2022-12-20T17:02:25","modified_gmt":"2022-12-20T20:02:25","slug":"consolehelper-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/consolehelper-man8\/","title":{"rendered":"CONSOLEHELPER (man8)"},"content":{"rendered":"<h1 align=\"center\">CONSOLEHELPER<\/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=\"#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\">consolehelper \u2212 A wrapper that helps console users run system programs<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>progname<\/i> [ <i>options<\/i> ]<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>consolehelper<\/b> is a tool that makes it easy for console users to run system programs, doing authentication via PAM (which can be set up to trust all console users or to ask for a password at the system administrator\u2019s discretion). When possible, the authentication is done graphically; otherwise, it is done within the text console from which consolehelper was started.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">It is intended to be completely transparent. This means that the user will never run the consolehelper program directly. Instead, programs like \/sbin\/shutdown are paired with a link from \/usr\/bin\/shutdown to \/usr\/bin\/consolehelper. Then when non-root users (specifically, users without \/sbin in their path, or \/sbin after \/usr\/bin) call the &#8220;shutdown&#8221; program, consolehelper will be invoked to authenticate the action and then invoke \/sbin\/shutdown. (consolehelper itself has no priviledges; it calls the <i>userhelper<\/i>(8) program do the real work.)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">consolehelper requires that a PAM configuration for every managed program exist. So to make \/sbin\/<i>foo<\/i> or \/usr\/sbin\/<i>foo<\/i> managed, you need to create a link from \/usr\/bin\/<i>foo<\/i> to \/usr\/bin\/consolehelper and create the file \/etc\/pam.d\/<i>foo<\/i>, normally using the <i>pam_console<\/i>(8) PAM module.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This program has no command line options of its own; it passes all command line options on to the program it is calling.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>userhelper<\/i>(8)<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Michael K. Johnson <johnsonm@redhat.com><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  consolehelper \u2212 A wrapper that helps console users run system programs <\/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,480,4],"class_list":["post-3352","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-consolehelper","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3352","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=3352"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3352\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}