<?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 log in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-log/m-p/5201801#M463568</link>
    <description>&amp;gt;&amp;gt;#su -&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;then wheni am checking the /var/adm/syslog/sudo.log.&lt;BR /&gt;&lt;BR /&gt;Well, the command above doesn't use sudo.  You would have to execute something via 'sudo' to get sudo to log something.</description>
    <pubDate>Fri, 02 Oct 2009 14:50:15 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2009-10-02T14:50:15Z</dc:date>
    <item>
      <title>Sudo log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-log/m-p/5201795#M463562</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How can i set the sudo logging in HPUX 11.11&lt;BR /&gt;&lt;BR /&gt;Right now i configured like this&lt;BR /&gt; more /etc/syslog.conf&lt;BR /&gt;# @(#) $Revision: 74.1 $&lt;BR /&gt;#&lt;BR /&gt;# syslogd configuration file.&lt;BR /&gt;#&lt;BR /&gt;# See syslogd(1M) for information about the format of this file.&lt;BR /&gt;#&lt;BR /&gt;mail.debug              /var/adm/syslog/mail.log&lt;BR /&gt;*.info;mail.none        /var/adm/syslog/syslog.log&lt;BR /&gt;*.alert                 /dev/console&lt;BR /&gt;*.alert                 root&lt;BR /&gt;*.emerg                 *&lt;BR /&gt;local2.debug            /var/adm/syslog/sudo.log&lt;BR /&gt;&lt;BR /&gt;But..when i am checking the sudo log its blank..Nothing get logged..&lt;BR /&gt;&lt;BR /&gt;please help me&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Oct 2009 15:51:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-log/m-p/5201795#M463562</guid>
      <dc:creator>joseph51</dc:creator>
      <dc:date>2009-10-01T15:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-log/m-p/5201796#M463563</link>
      <description>First, there MUST be a SINGLE tab between 'local2.debug' and '/var/adm/syslog/sudo.log'.  You should then stop and restart syslogd.&lt;BR /&gt;&lt;BR /&gt;Also, you should check your sudoers file for log configuration.  I thing you would have more luck there than in syslog.conf.&lt;BR /&gt;&lt;BR /&gt;man sudoers&lt;BR /&gt;&lt;BR /&gt;for information on logging settings.</description>
      <pubDate>Thu, 01 Oct 2009 15:56:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-log/m-p/5201796#M463563</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-10-01T15:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-log/m-p/5201797#M463564</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;sudo does log its own acitivies.&lt;BR /&gt;&lt;BR /&gt;Putting it as part of syslog requires a trip to the RTFM center.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.gratisoft.us/sudo/man/sudoers.html" target="_blank"&gt;http://www.gratisoft.us/sudo/man/sudoers.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thats a good one.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 01 Oct 2009 17:09:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-log/m-p/5201797#M463564</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-10-01T17:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-log/m-p/5201798#M463565</link>
      <description>Patrik,, I tried the option you told .. but still its not working.I give n a single tab .and restarted the syslogd ..but still its not loging</description>
      <pubDate>Fri, 02 Oct 2009 07:21:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-log/m-p/5201798#M463565</guid>
      <dc:creator>joseph51</dc:creator>
      <dc:date>2009-10-02T07:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-log/m-p/5201799#M463566</link>
      <description>just have this line in your sudo config file, this will work.&lt;BR /&gt;&lt;BR /&gt;Defaults logfile=/var/adm/syslog/sudo.log</description>
      <pubDate>Fri, 02 Oct 2009 13:25:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-log/m-p/5201799#M463566</guid>
      <dc:creator>balaji_vvv</dc:creator>
      <dc:date>2009-10-02T13:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-log/m-p/5201800#M463567</link>
      <description>mariyapan,&lt;BR /&gt;&lt;BR /&gt;I didn the same u mentioned .. But still its not logging..&lt;BR /&gt;&lt;BR /&gt;i loged in with my username and i did&lt;BR /&gt;&lt;BR /&gt;#su -&lt;BR /&gt;&lt;BR /&gt;then wheni am checking the /var/adm/syslog/sudo.log.&lt;BR /&gt;&lt;BR /&gt;the file is empty.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Oct 2009 13:51:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-log/m-p/5201800#M463567</guid>
      <dc:creator>joseph51</dc:creator>
      <dc:date>2009-10-02T13:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-log/m-p/5201801#M463568</link>
      <description>&amp;gt;&amp;gt;#su -&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;then wheni am checking the /var/adm/syslog/sudo.log.&lt;BR /&gt;&lt;BR /&gt;Well, the command above doesn't use sudo.  You would have to execute something via 'sudo' to get sudo to log something.</description>
      <pubDate>Fri, 02 Oct 2009 14:50:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-log/m-p/5201801#M463568</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-10-02T14:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-log/m-p/5201802#M463569</link>
      <description>Hi, you MUST use the command  sudo   &lt;BR /&gt;&lt;BR /&gt;for example :&lt;BR /&gt;&lt;BR /&gt; $ sudo dmesg &lt;BR /&gt;&lt;BR /&gt;by the way, check  man (1m) sudo&lt;BR /&gt;&lt;BR /&gt;Martin</description>
      <pubDate>Fri, 02 Oct 2009 22:12:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-log/m-p/5201802#M463569</guid>
      <dc:creator>Martín García</dc:creator>
      <dc:date>2009-10-02T22:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-log/m-p/5201803#M463570</link>
      <description>Thank to all</description>
      <pubDate>Tue, 03 Aug 2010 14:44:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-log/m-p/5201803#M463570</guid>
      <dc:creator>joseph51</dc:creator>
      <dc:date>2010-08-03T14:44:21Z</dc:date>
    </item>
  </channel>
</rss>

