<?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>question Re: How to restrict a hadoop user to use a hadoop commands like &amp;quot;chmod, chown or rm&amp;quot; ? (Without using ACLs, Ranger or Kerberos) in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-restrict-a-hadoop-user-to-use-a-hadoop-commands-like/m-p/211260#M173202</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/79180/sheshk11.html" nodeid="79180"&gt;@Shesh Kumar&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Just add below lines in starting of &lt;EM&gt;hadoop&lt;/EM&gt; file.(/usr/hdp/&amp;lt;version&amp;gt;/hadoop/bin/hadoop and /usr/bin/hadoop) &lt;/P&gt;&lt;PRE&gt;echo "Sorry! hadoop command is disabled."
exit 1 
&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;But as mentioned by others in earlier comments there is no security here. Users which has access to this files can edit and use the hadoop commands. &lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Aug 2018 19:40:49 GMT</pubDate>
    <dc:creator>sandyy006</dc:creator>
    <dc:date>2018-08-07T19:40:49Z</dc:date>
  </channel>
</rss>

