<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SUDO Output in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-output/m-p/5275334#M473763</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;add this line, as default bad logins uses alert and it sends to console.&lt;BR /&gt;&lt;BR /&gt;Defaults syslog_badpri=info&lt;BR /&gt;</description>
    <pubDate>Tue, 01 Mar 2011 07:08:54 GMT</pubDate>
    <dc:creator>Kenan Erdey</dc:creator>
    <dc:date>2011-03-01T07:08:54Z</dc:date>
    <item>
      <title>SUDO Output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-output/m-p/5275333#M473762</link>
      <description>how do i stop the sudo output going to the console?&lt;BR /&gt;&lt;BR /&gt;Cannot see it defined in sudoers file.</description>
      <pubDate>Tue, 01 Mar 2011 06:28:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-output/m-p/5275333#M473762</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2011-03-01T06:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO Output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-output/m-p/5275334#M473763</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;add this line, as default bad logins uses alert and it sends to console.&lt;BR /&gt;&lt;BR /&gt;Defaults syslog_badpri=info&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Mar 2011 07:08:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-output/m-p/5275334#M473763</guid>
      <dc:creator>Kenan Erdey</dc:creator>
      <dc:date>2011-03-01T07:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO Output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-output/m-p/5275335#M473764</link>
      <description>hi please tell me what that will do?&lt;BR /&gt;&lt;BR /&gt;will it still log to the log file as below&lt;BR /&gt;&lt;BR /&gt; Defaults log_output&lt;BR /&gt; Defaults!/usr/bin/sudoreplay !log_output&lt;BR /&gt; Defaults!/usr/local/bin/sudoreplay !log_output&lt;BR /&gt; Defaults!/sbin/reboot !log_output&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Mar 2011 07:42:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-output/m-p/5275335#M473764</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2011-03-01T07:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO Output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-output/m-p/5275336#M473765</link>
      <description>The message is not output to the console by sudo itself, but by the syslog daemon.&lt;BR /&gt;&lt;BR /&gt;Kenan's suggestion is related to syslog message priority levels used by sudo, and what syslog is configured to do with them.&lt;BR /&gt;&lt;BR /&gt;By default, sudo sends messages of failed attempts to use sudo to syslog using priority class "alert". &lt;BR /&gt;&lt;BR /&gt;The HP-UX syslog daemon is typically configured to output serious error messages (including messages of priority class "alert") to the console in addition to writing them to the syslog file. Another typical configuration is that the messages of the highest priority class ("emerg") are sent out to every running session, somewhat like what the "wall" command does.&lt;BR /&gt;&lt;BR /&gt;Kenan's suggestion is to reduce the syslog priority of the messages sent by sudo to "info". That is a very low priority level: it is only written to the syslog file by default, not output to the console.&lt;BR /&gt;&lt;BR /&gt;Syslog also classifies messages by "facility" categories: you should read the /etc/syslog.conf file to see what syslog is configured to do with each facility/priority combination.&lt;BR /&gt;&lt;BR /&gt;An alternative way to solve this problem would be to configure the syslog daemon to not output messages of the authentication facility to the console. But Kenan's solution affects only sudo, so it has less side effects.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Tue, 01 Mar 2011 09:05:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-output/m-p/5275336#M473765</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-03-01T09:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO Output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-output/m-p/5275337#M473766</link>
      <description>You guys are both stars thank you so very much.</description>
      <pubDate>Tue, 01 Mar 2011 09:12:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-output/m-p/5275337#M473766</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2011-03-01T09:12:45Z</dc:date>
    </item>
  </channel>
</rss>

