<?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: Disable harmful commands at databricks cluster/workspace level in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/disable-harmful-commands-at-databricks-cluster-workspace-level/m-p/38106#M262</link>
    <description>&lt;P&gt;Currently we do not have a way to disable harmful dbutils commands.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2023 11:32:16 GMT</pubDate>
    <dc:creator>Vinay_M_R</dc:creator>
    <dc:date>2023-07-21T11:32:16Z</dc:date>
    <item>
      <title>Disable harmful commands at databricks cluster/workspace level</title>
      <link>https://community.databricks.com/t5/administration-architecture/disable-harmful-commands-at-databricks-cluster-workspace-level/m-p/38038#M260</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to prevent user from executing harmful commands like dbutils.fs.rm at cluster level/workspace level.&lt;/P&gt;&lt;P&gt;Can we do this in databricks? Are there any classes/APIs that we can override?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 11:41:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/disable-harmful-commands-at-databricks-cluster-workspace-level/m-p/38038#M260</guid>
      <dc:creator>PallaviVetal</dc:creator>
      <dc:date>2023-07-20T11:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Disable harmful commands at databricks cluster/workspace level</title>
      <link>https://community.databricks.com/t5/administration-architecture/disable-harmful-commands-at-databricks-cluster-workspace-level/m-p/38103#M261</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/85060"&gt;@PallaviVetal&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you using&amp;nbsp;&lt;SPAN&gt;Python or SQL in your notebook?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vinay M R&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 11:14:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/disable-harmful-commands-at-databricks-cluster-workspace-level/m-p/38103#M261</guid>
      <dc:creator>Vinay_M_R</dc:creator>
      <dc:date>2023-07-21T11:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Disable harmful commands at databricks cluster/workspace level</title>
      <link>https://community.databricks.com/t5/administration-architecture/disable-harmful-commands-at-databricks-cluster-workspace-level/m-p/38106#M262</link>
      <description>&lt;P&gt;Currently we do not have a way to disable harmful dbutils commands.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 11:32:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/disable-harmful-commands-at-databricks-cluster-workspace-level/m-p/38106#M262</guid>
      <dc:creator>Vinay_M_R</dc:creator>
      <dc:date>2023-07-21T11:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Disable harmful commands at databricks cluster/workspace level</title>
      <link>https://community.databricks.com/t5/administration-architecture/disable-harmful-commands-at-databricks-cluster-workspace-level/m-p/38111#M263</link>
      <description>&lt;P&gt;Both additionally scala also. Basically I want to override inbuilt functions like dbutils.fs.rm. For shell commands, I can disable harmful commands by simply removing execute permission. For scala, I found the jar which has implementation of dbutils.fs.rm but I am not sure how I can override this function&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 12:10:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/disable-harmful-commands-at-databricks-cluster-workspace-level/m-p/38111#M263</guid>
      <dc:creator>PallaviVetal</dc:creator>
      <dc:date>2023-07-21T12:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Disable harmful commands at databricks cluster/workspace level</title>
      <link>https://community.databricks.com/t5/administration-architecture/disable-harmful-commands-at-databricks-cluster-workspace-level/m-p/38114#M264</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/85060"&gt;@PallaviVetal&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Currently we do not have a way to disable harmful dbutils commands.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But you can try setting access controls to restrict users from performing any harmful operation: &lt;A href="https://docs.databricks.com/security/auth-authz/access-control/index.html" target="_blank"&gt;https://docs.databricks.com/security/auth-authz/access-control/index.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 13:09:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/disable-harmful-commands-at-databricks-cluster-workspace-level/m-p/38114#M264</guid>
      <dc:creator>Vinay_M_R</dc:creator>
      <dc:date>2023-07-21T13:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Disable harmful commands at databricks cluster/workspace level</title>
      <link>https://community.databricks.com/t5/administration-architecture/disable-harmful-commands-at-databricks-cluster-workspace-level/m-p/38216#M265</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/85060"&gt;@PallaviVetal&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We haven't heard from you since the last response from &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/76894"&gt;@Vinay_M_R&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;​, and I was checking back to see if her suggestions helped you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Or else, If you have any solution, please share it with the community, as it can be helpful to others.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also, Please don't forget to click on the "Select As Best" button whenever the information provided helps resolve your question.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jul 2023 04:52:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/disable-harmful-commands-at-databricks-cluster-workspace-level/m-p/38216#M265</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-23T04:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Disable harmful commands at databricks cluster/workspace level</title>
      <link>https://community.databricks.com/t5/administration-architecture/disable-harmful-commands-at-databricks-cluster-workspace-level/m-p/61978#M928</link>
      <description>&lt;P&gt;Can We Embed this in topmost INIT file?&lt;/P&gt;&lt;P&gt;alias rm='echo "rm is disabled, please check with the admin."'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 11:01:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/disable-harmful-commands-at-databricks-cluster-workspace-level/m-p/61978#M928</guid>
      <dc:creator>Nikhil_2800</dc:creator>
      <dc:date>2024-02-26T11:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Disable harmful commands at databricks cluster/workspace level</title>
      <link>https://community.databricks.com/t5/administration-architecture/disable-harmful-commands-at-databricks-cluster-workspace-level/m-p/62181#M932</link>
      <description>&lt;P&gt;Hi&amp;nbsp;,&lt;BR /&gt;I got the similar kind of problem too.&lt;BR /&gt;I followed this&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;put &lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;chmod -x /bin/rm in init.sh&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt; in workspace and add it at cluster your cluster level init script or global init script.&lt;BR /&gt;this restricts the users to use rm command.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Nikhil Srivastava&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/85060"&gt;@PallaviVetal&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 09:07:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/disable-harmful-commands-at-databricks-cluster-workspace-level/m-p/62181#M932</guid>
      <dc:creator>Nikhil_2800</dc:creator>
      <dc:date>2024-02-28T09:07:33Z</dc:date>
    </item>
  </channel>
</rss>

