<?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: syslog question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-question/m-p/4696769#M383663</link>
    <description>@patrick: man sudoers?&lt;BR /&gt; &lt;BR /&gt;Yep. The sudoers man page covers a number of sshd logging options such as:&lt;BR /&gt; &lt;BR /&gt;log_host&lt;BR /&gt;log_year&lt;BR /&gt;loglinelen&lt;BR /&gt;syslog_goodpri&lt;BR /&gt;syslog_badpri&lt;BR /&gt;logfile&lt;BR /&gt;syslog&lt;BR /&gt; &lt;BR /&gt;These are set in the Defaults section of the sudoers file.</description>
    <pubDate>Fri, 08 Oct 2010 18:48:21 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2010-10-08T18:48:21Z</dc:date>
    <item>
      <title>syslog question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-question/m-p/4696764#M383658</link>
      <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;I am running HP-UX 11.00, and I reconfigured the /etc/syslog.conf file to copy its contents to a central log server by adding several lines to the existing file. The syntax that I used is shown below:&lt;BR /&gt;&lt;BR /&gt;# Copy the contents of the syslog file to the syslog server.&lt;BR /&gt;*.info;mail.none        @&lt;IP address=""&gt;&lt;BR /&gt;*.alert                 @&lt;IP address=""&gt;&lt;BR /&gt;*.emerg                 @&lt;IP address=""&gt;&lt;BR /&gt;mail.debug              @&lt;IP address=""&gt;&lt;BR /&gt;&lt;BR /&gt;After I made the changes to the syslog.conf file, I stopped and restarted the service via the /sbin/init.d/syslogd script. &lt;BR /&gt;&lt;BR /&gt;Since that time, there have not been any updates to the /var/adm/syslog/syslog.log file. I am not sure if the fault is with the syntax that I used in the file, or not properly restarting the service.&lt;BR /&gt;&lt;BR /&gt;Can someone provide information on this issue? Thanks. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/IP&gt;&lt;/IP&gt;&lt;/IP&gt;&lt;/IP&gt;</description>
      <pubDate>Thu, 07 Oct 2010 19:52:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-question/m-p/4696764#M383658</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2010-10-07T19:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: syslog question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-question/m-p/4696765#M383659</link>
      <description>All white space in the file MUST be TABs.&lt;BR /&gt;&lt;BR /&gt;*.info;mail.none&lt;HIT the="" tab="" key=""&gt;@&lt;IP address=""&gt;&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;If you just hit the space bar for white space, then it won't work.&lt;BR /&gt;&lt;BR /&gt;&lt;/IP&gt;&lt;/HIT&gt;</description>
      <pubDate>Thu, 07 Oct 2010 20:00:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-question/m-p/4696765#M383659</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2010-10-07T20:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: syslog question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-question/m-p/4696766#M383660</link>
      <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply. I re-entered the lines in question, and restarted the syslog daemon. When I logged in, and then changed to root user, there was a new entry added to the syslog.log file. &lt;BR /&gt;&lt;BR /&gt;As a follow-up question: If I want to have all instances of ssh connections made to the system in question recorded to syslog.log, what syntax would I add to the configuration file? Thanks.</description>
      <pubDate>Thu, 07 Oct 2010 21:17:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-question/m-p/4696766#M383660</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2010-10-07T21:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: syslog question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-question/m-p/4696767#M383661</link>
      <description>syslog does not control application logging. (man syslogd) If the application (ie, sshd) sends data to the syslogd daemon, it will be logged according to the general rules for facility and priority. There are many options to control what ssh messages are sent to syslog as well as the facility and priority. &lt;BR /&gt; &lt;BR /&gt;man sudoers&lt;BR /&gt; &lt;BR /&gt;Also, man sshd shows the -q option to silence all sshd syslog entries.</description>
      <pubDate>Fri, 08 Oct 2010 01:32:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-question/m-p/4696767#M383661</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-10-08T01:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: syslog question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-question/m-p/4696768#M383662</link>
      <description>&amp;gt;&amp;gt;man sudoers&lt;BR /&gt;&lt;BR /&gt;'sudoers'????  I think Bill probably meant on of the 'ssh man pages.  You should probably investigate the 'sshd' man page as well as the sshd_config and ssh_config man pages.</description>
      <pubDate>Fri, 08 Oct 2010 02:08:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-question/m-p/4696768#M383662</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2010-10-08T02:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: syslog question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-question/m-p/4696769#M383663</link>
      <description>@patrick: man sudoers?&lt;BR /&gt; &lt;BR /&gt;Yep. The sudoers man page covers a number of sshd logging options such as:&lt;BR /&gt; &lt;BR /&gt;log_host&lt;BR /&gt;log_year&lt;BR /&gt;loglinelen&lt;BR /&gt;syslog_goodpri&lt;BR /&gt;syslog_badpri&lt;BR /&gt;logfile&lt;BR /&gt;syslog&lt;BR /&gt; &lt;BR /&gt;These are set in the Defaults section of the sudoers file.</description>
      <pubDate>Fri, 08 Oct 2010 18:48:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-question/m-p/4696769#M383663</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-10-08T18:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: syslog question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-question/m-p/4696770#M383664</link>
      <description>Maybe the question I should ask is where does ssh generate a log file? I checked the Loggin section of the sshd_config file, and the only entries present are the following:&lt;BR /&gt;&lt;BR /&gt;# Logging&lt;BR /&gt;#obsoletes QuietMode and FascistLogging&lt;BR /&gt;#SyslogFacility AUTH&lt;BR /&gt;#LogLevel INFO&lt;BR /&gt;&lt;BR /&gt;Do I need to add an entry that will generate a log file? If so, what would be the correct syntax? &lt;BR /&gt;</description>
      <pubDate>Fri, 08 Oct 2010 20:58:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-question/m-p/4696770#M383664</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2010-10-08T20:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: syslog question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-question/m-p/4696771#M383665</link>
      <description>I think I found the answer. If I uncomment the LogLevel line in the sshd_config line, to read as:&lt;BR /&gt;&lt;BR /&gt;LogLevel INFO&lt;BR /&gt;&lt;BR /&gt;and then restart the sshd daemon. That should generate entries into the syslog.log file.&lt;BR /&gt;&lt;BR /&gt;Correct?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Oct 2010 21:10:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-question/m-p/4696771#M383665</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2010-10-08T21:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: syslog question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-question/m-p/4696772#M383666</link>
      <description>Oops, sudoers has nothing to do with sshd. That's what happens when you have two screens active at the same time and only 1 keyboard.&lt;BR /&gt; &lt;BR /&gt;Of course sshd_config is the location to control ssh logging. You can control the level (priority) of the logged messages as well as sftp transfers. The -q (if sshd is started with that option) turns off syslog from sshd.&lt;BR /&gt; &lt;BR /&gt;To generate a separate file for sshd entries, there are the SyslogFacility and SftpLogFacility. Change the default (AUTH) to something like LOCAL6 and then modify the syslog.conf file to generate a new log called local6.log for sshd.</description>
      <pubDate>Fri, 08 Oct 2010 22:05:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-question/m-p/4696772#M383666</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-10-08T22:05:27Z</dc:date>
    </item>
  </channel>
</rss>

