<?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: Can't install Managed because &amp;quot;dynatrace doesn't have access to following directories: /tmp&amp;quot; in Dynatrace Managed Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Can-t-install-Managed-because-quot-dynatrace-doesn-t-have-access/m-p/216879#M2628</link>
    <description>&lt;H3&gt;How to disable the su to root in Linux using PAM&lt;/H3&gt;
&lt;P&gt;1.&amp;nbsp;&lt;/P&gt;
&lt;PRE class="c"&gt;vim &lt;SPAN&gt;/&lt;/SPAN&gt;etc&lt;SPAN&gt;/&lt;/SPAN&gt;pam.&lt;SPAN&gt;d&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;su&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Uncomment this line:&lt;/P&gt;
&lt;PRE&gt;auth required pam_wheel.so&lt;/PRE&gt;
&lt;P&gt;and update it to:&lt;/P&gt;
&lt;PRE&gt;auth required pam_wheel.so use_uid&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;`su` won't work anymore. If you would like to enable `su` for other users, then adjust i to:&lt;/P&gt;
&lt;PRE&gt;auth required pam_wheel.so deny group=nosu&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jul 2023 10:57:26 GMT</pubDate>
    <dc:creator>Radoslaw_Szulgo</dc:creator>
    <dc:date>2023-07-04T10:57:26Z</dc:date>
    <item>
      <title>Can't install Managed because "dynatrace doesn't have access to following directories: /tmp"</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Can-t-install-Managed-because-quot-dynatrace-doesn-t-have-access/m-p/216669#M2623</link>
      <description>&lt;P&gt;I'm trying to install Managed and get the following error during installation:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Dynatrace user dynatrace:dynatrace doesn't have access to following directories: /tmp - cannot access, /opt/dynatrace-managed - cannot access, /var/opt/dynatrace-managed - cannot access, /var/opt/dynatrace-managed/log - cannot access, /var/opt/dynatrace-managed/cassandra - cannot access, /var/opt/dynatrace-managed/elasticsearch - cannot access, /var/opt/dynatrace-managed/server - cannot access. Make sure they are accessible and permissions are granted properly.&lt;/LI-CODE&gt;&lt;P&gt;I have tracked it down to several Linux "test"&amp;nbsp; commands failing. Directories are OK, and there are even things in there.&lt;/P&gt;&lt;P&gt;It looks like some PAM issue:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Jun 30 16:18:16 server runuser[9350]: pam_systemd(runuser-l:session): Cannot create session: Already running in a session or user slice
Jun 30 16:18:16 server runuser[9350]: pam_unix(runuser-l:session): session opened for user dynatrace by (uid=0)
Jun 30 16:18:26 server runuser[9372]: pam_systemd(runuser-l:session): Cannot create session: Already running in a session or user slice
Jun 30 16:18:26 server runuser[9372]: pam_unix(runuser-l:session): session opened for user dynatrace by (uid=0)&lt;/LI-CODE&gt;&lt;P&gt;Also very similar to &lt;A href="https://community.dynatrace.com/t5/Open-Q-A/Problem-with-server-upgrade/m-p/209975" target="_blank"&gt;https://community.dynatrace.com/t5/Open-Q-A/Problem-with-server-upgrade/m-p/209975&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Environment is RHEL 8.7, and there is sssd involved.&lt;BR /&gt;Any ideas, or has anyone gone through one of these?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 17:01:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Can-t-install-Managed-because-quot-dynatrace-doesn-t-have-access/m-p/216669#M2623</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2023-06-30T17:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can't install Managed because "dynatrace doesn't have access to following directories: /tmp"</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Can-t-install-Managed-because-quot-dynatrace-doesn-t-have-access/m-p/216742#M2624</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/17213"&gt;@AntonioSousa&lt;/a&gt;&amp;nbsp;first of all, what version are you trying to install? Does your Linux OS has SELinux enabled?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 07:55:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Can-t-install-Managed-because-quot-dynatrace-doesn-t-have-access/m-p/216742#M2624</guid>
      <dc:creator>Radoslaw_Szulgo</dc:creator>
      <dc:date>2023-07-03T07:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can't install Managed because "dynatrace doesn't have access to following directories: /tmp"</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Can-t-install-Managed-because-quot-dynatrace-doesn-t-have-access/m-p/216745#M2625</link>
      <description>&lt;P&gt;Not sure if I've already seen a support ticket like that but for you Antonio, and others that hit this question:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;In this case, I recommend disabling pam.d service&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How to disable PAM service?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Open the PAM configuration file in your preferred text editor. On most systems, you can do this in the built-in "nano" editor by typing "nano /etc/pam.conf."&lt;/P&gt;
&lt;P&gt;Press "Enter," and on the very top line, write "skip-authentication". Save the document. PAM will no longer attempt to authenticate applications and will allow all requested services to run.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 08:18:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Can-t-install-Managed-because-quot-dynatrace-doesn-t-have-access/m-p/216745#M2625</guid>
      <dc:creator>Radoslaw_Szulgo</dc:creator>
      <dc:date>2023-07-03T08:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can't install Managed because "dynatrace doesn't have access to following directories: /tmp"</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Can-t-install-Managed-because-quot-dynatrace-doesn-t-have-access/m-p/216746#M2626</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/25371"&gt;@Radoslaw_Szulgo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Latest version. It did have SELinux enabled, but we disabled it.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 08:18:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Can-t-install-Managed-because-quot-dynatrace-doesn-t-have-access/m-p/216746#M2626</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2023-07-03T08:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can't install Managed because "dynatrace doesn't have access to following directories: /tmp"</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Can-t-install-Managed-because-quot-dynatrace-doesn-t-have-access/m-p/216837#M2627</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/25371"&gt;@Radoslaw_Szulgo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In RHEL, there is only /etc/pam.d/&lt;/P&gt;&lt;P&gt;In any case, we have created a support ticket, and will post here when I find the cute Linux config affecting this &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 20:12:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Can-t-install-Managed-because-quot-dynatrace-doesn-t-have-access/m-p/216837#M2627</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2023-07-03T20:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can't install Managed because "dynatrace doesn't have access to following directories: /tmp"</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Can-t-install-Managed-because-quot-dynatrace-doesn-t-have-access/m-p/216879#M2628</link>
      <description>&lt;H3&gt;How to disable the su to root in Linux using PAM&lt;/H3&gt;
&lt;P&gt;1.&amp;nbsp;&lt;/P&gt;
&lt;PRE class="c"&gt;vim &lt;SPAN&gt;/&lt;/SPAN&gt;etc&lt;SPAN&gt;/&lt;/SPAN&gt;pam.&lt;SPAN&gt;d&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;su&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Uncomment this line:&lt;/P&gt;
&lt;PRE&gt;auth required pam_wheel.so&lt;/PRE&gt;
&lt;P&gt;and update it to:&lt;/P&gt;
&lt;PRE&gt;auth required pam_wheel.so use_uid&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;`su` won't work anymore. If you would like to enable `su` for other users, then adjust i to:&lt;/P&gt;
&lt;PRE&gt;auth required pam_wheel.so deny group=nosu&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 10:57:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Can-t-install-Managed-because-quot-dynatrace-doesn-t-have-access/m-p/216879#M2628</guid>
      <dc:creator>Radoslaw_Szulgo</dc:creator>
      <dc:date>2023-07-04T10:57:26Z</dc:date>
    </item>
  </channel>
</rss>

