<?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 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/211253#M173195</link>
    <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I'm looking for a possible way to restrict user to use some Hadoop commands. In other words, how to disable a Hadoop command for particular users? Below is the scenario :- &lt;/P&gt;&lt;PRE&gt;[foo@bdlhdptst01 ~]$ whoami 
foo 
[foo@bdlhdptst01 ~]$ hadoop fs -ls /user/foo 
Found 1 item 
-rwxrwxrwx 3 foo hadoop          0 2018-05-21 05:56 /user/foo/test.txt &lt;/PRE&gt;&lt;P&gt;For example, I don't want a user "foo" to run the below "chmod" command which he owns (shown above) &lt;/P&gt;&lt;PRE&gt;[foo@bdlhdptst01 ~]$ hadoop fs -chmod 700 /user/foo/test.txt &lt;/PRE&gt;&lt;P&gt;If we can disable a command in OS level (Linux) for a user, I believe we can disable the same in Hadoop as well. Any suggestions would be highly appreciated! &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note: Without using ACLs, &lt;/STRONG&gt;&lt;STRONG&gt;Ranger or Kerberos&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Shesh Kumar&lt;/P&gt;</description>
    <pubDate>Sat, 04 Aug 2018 20:40:51 GMT</pubDate>
    <dc:creator>sheshk11</dc:creator>
    <dc:date>2018-08-04T20:40:51Z</dc:date>
  </channel>
</rss>

