<?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 syslog timestamp when using passwd command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-timestamp-when-using-passwd-command/m-p/3056366#M907682</link>
    <description>I have problems when changing passwords (passwd) or switching users.  When doing this, the var/adm/syslog/syslog.log is updated with localtime (not GMT).  I can't figure out why.  Every config file, and the TZ environmental variable is set to GMT. Any suggestions?</description>
    <pubDate>Mon, 25 Aug 2003 22:17:20 GMT</pubDate>
    <dc:creator>M. Hersant</dc:creator>
    <dc:date>2003-08-25T22:17:20Z</dc:date>
    <item>
      <title>syslog timestamp when using passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-timestamp-when-using-passwd-command/m-p/3056366#M907682</link>
      <description>I have problems when changing passwords (passwd) or switching users.  When doing this, the var/adm/syslog/syslog.log is updated with localtime (not GMT).  I can't figure out why.  Every config file, and the TZ environmental variable is set to GMT. Any suggestions?</description>
      <pubDate>Mon, 25 Aug 2003 22:17:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-timestamp-when-using-passwd-command/m-p/3056366#M907682</guid>
      <dc:creator>M. Hersant</dc:creator>
      <dc:date>2003-08-25T22:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: syslog timestamp when using passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-timestamp-when-using-passwd-command/m-p/3056367#M907683</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;What's in /etc/TIMEZONE?&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 25 Aug 2003 22:31:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-timestamp-when-using-passwd-command/m-p/3056367#M907683</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-08-25T22:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: syslog timestamp when using passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-timestamp-when-using-passwd-command/m-p/3056368#M907684</link>
      <description>/etc/TIMEZONE&lt;BR /&gt;&lt;BR /&gt;TZ=GMT&lt;BR /&gt;export TZ</description>
      <pubDate>Mon, 25 Aug 2003 22:40:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-timestamp-when-using-passwd-command/m-p/3056368#M907684</guid>
      <dc:creator>M. Hersant</dc:creator>
      <dc:date>2003-08-25T22:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: syslog timestamp when using passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-timestamp-when-using-passwd-command/m-p/3056369#M907685</link>
      <description>Well...both passwd &amp;amp; su are SUID programs.&lt;BR /&gt;So the problem has to be in either root's or the calling user's environment. Don't forget to look in the .?shrc file - depending on the shell defined. Also don't forget to check /etc/profile.&lt;BR /&gt;&lt;BR /&gt;Good Huntin',&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 25 Aug 2003 22:48:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-timestamp-when-using-passwd-command/m-p/3056369#M907685</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-08-25T22:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: syslog timestamp when using passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-timestamp-when-using-passwd-command/m-p/3056370#M907686</link>
      <description>If the switching of users is to an application user for example, it may have it's own env files called from somewhere. Check the .profile of the user (depending on the shell being used of course) Seeing it is coming from the new user and not the old one, it will be in the env of the user being switched to.</description>
      <pubDate>Mon, 25 Aug 2003 23:10:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-timestamp-when-using-passwd-command/m-p/3056370#M907686</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-08-25T23:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: syslog timestamp when using passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-timestamp-when-using-passwd-command/m-p/3056371#M907687</link>
      <description>There is a variance between variable settings in .profile for root and other users.&lt;BR /&gt;&lt;BR /&gt;This should probably be set in /etc/profile&lt;BR /&gt;&lt;BR /&gt;You should also scan and delete the lines in any .profile files for users that deal with these two variables.&lt;BR /&gt;&lt;BR /&gt;find /home -exec grep -l 'TZ' {} \;&lt;BR /&gt;&lt;BR /&gt;That will get you a list of files, which you can feed into a sed script to nullify the variables.&lt;BR /&gt;&lt;BR /&gt;sed s/TZ/TZOLD/g  &amp;lt; fileslist&lt;BR /&gt;&lt;BR /&gt;Make sure if you can't handle it in /etc/profile that the .profile in /etc/skel is correct.&lt;BR /&gt;&lt;BR /&gt;A bit of refinement is necessary.&lt;BR /&gt;&lt;BR /&gt;You also might wish to investigate if your server is pulling time properly from its /etc/ntp.conf file&lt;BR /&gt;&lt;BR /&gt;See if ntpq -p &lt;IP of="" time="" source=""&gt; returns a correct time and it comes back GMT.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/IP&gt;</description>
      <pubDate>Tue, 26 Aug 2003 00:04:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-timestamp-when-using-passwd-command/m-p/3056371#M907687</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-08-26T00:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: syslog timestamp when using passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-timestamp-when-using-passwd-command/m-p/3056372#M907688</link>
      <description>After further research, I believe my problem is related to the npasswd program.  Npasswd is a replacement for passwd.  It has security features which guard against password guessing programs (crack).  Is it possible that when npasswd was built and installed, local timezone was probed, and now it is being used as a timestamp?  I'll keep looking.</description>
      <pubDate>Tue, 26 Aug 2003 02:00:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-timestamp-when-using-passwd-command/m-p/3056372#M907688</guid>
      <dc:creator>M. Hersant</dc:creator>
      <dc:date>2003-08-26T02:00:16Z</dc:date>
    </item>
  </channel>
</rss>

