<?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: Change multiple users timezone in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Change-multiple-users-timezone/m-p/180943#M36302</link>
    <description>&lt;P&gt;Found the answer!!&lt;BR /&gt;
I've created command that add the time zone into all files of all users.&lt;BR /&gt;
the con is the user directory must be exists (the user need to login at least once before you can apply this).&lt;BR /&gt;
In each user directory you have the file "user-prefs.conf".&lt;BR /&gt;
inside it it store all user configuration.&lt;BR /&gt;
if you add at the end of the file the parameter: "tz = Asia/Jerusalem" for instance, the user will have set Jerusalem timezone.&lt;/P&gt;

&lt;P&gt;to add timezone to all the users files use the below:&lt;BR /&gt;
&lt;CODE&gt;cd /opt/splunk/etc/users/&lt;/CODE&gt; or where you have installed splunk.&lt;BR /&gt;
&lt;CODE&gt;find . -name "user-prefs.conf" -print | xargs sed -i '$a\tz = Asia/Jerusalem'&lt;/CODE&gt;&lt;BR /&gt;
(or change the timezone to whatever you want).&lt;/P&gt;

&lt;P&gt;enjoy!&lt;/P&gt;</description>
    <pubDate>Tue, 11 Mar 2014 09:26:01 GMT</pubDate>
    <dc:creator>oferprtz</dc:creator>
    <dc:date>2014-03-11T09:26:01Z</dc:date>
    <item>
      <title>Change multiple users timezone</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-multiple-users-timezone/m-p/180941#M36300</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;How can we change the user timezone for all users under: Settings -&amp;gt; Access Controls -&amp;gt; Users?&lt;/P&gt;

&lt;P&gt;thanks,&lt;BR /&gt;
ofer.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2014 08:54:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-multiple-users-timezone/m-p/180941#M36300</guid>
      <dc:creator>oferprtz</dc:creator>
      <dc:date>2014-03-11T08:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Change multiple users timezone</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-multiple-users-timezone/m-p/180942#M36301</link>
      <description>&lt;P&gt;Hi oferprtz,&lt;/P&gt;

&lt;P&gt;this is not possible within the UI manager, but you can set user's default time zone in &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.2/Admin/User-prefsconf"&gt;user-prefs.conf&lt;/A&gt; if you are using the Splunk internal user management.&lt;/P&gt;

&lt;P&gt;hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2014 09:17:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-multiple-users-timezone/m-p/180942#M36301</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-03-11T09:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Change multiple users timezone</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-multiple-users-timezone/m-p/180943#M36302</link>
      <description>&lt;P&gt;Found the answer!!&lt;BR /&gt;
I've created command that add the time zone into all files of all users.&lt;BR /&gt;
the con is the user directory must be exists (the user need to login at least once before you can apply this).&lt;BR /&gt;
In each user directory you have the file "user-prefs.conf".&lt;BR /&gt;
inside it it store all user configuration.&lt;BR /&gt;
if you add at the end of the file the parameter: "tz = Asia/Jerusalem" for instance, the user will have set Jerusalem timezone.&lt;/P&gt;

&lt;P&gt;to add timezone to all the users files use the below:&lt;BR /&gt;
&lt;CODE&gt;cd /opt/splunk/etc/users/&lt;/CODE&gt; or where you have installed splunk.&lt;BR /&gt;
&lt;CODE&gt;find . -name "user-prefs.conf" -print | xargs sed -i '$a\tz = Asia/Jerusalem'&lt;/CODE&gt;&lt;BR /&gt;
(or change the timezone to whatever you want).&lt;/P&gt;

&lt;P&gt;enjoy!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2014 09:26:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-multiple-users-timezone/m-p/180943#M36302</guid>
      <dc:creator>oferprtz</dc:creator>
      <dc:date>2014-03-11T09:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Change multiple users timezone</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-multiple-users-timezone/m-p/180944#M36303</link>
      <description>&lt;P&gt;thanks MuS, its exactly what ive found out + ive added command line that change all users.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2014 09:28:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-multiple-users-timezone/m-p/180944#M36303</guid>
      <dc:creator>oferprtz</dc:creator>
      <dc:date>2014-03-11T09:28:21Z</dc:date>
    </item>
  </channel>
</rss>

