You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Megha Garg <me...@gmail.com> on 2015/04/06 13:08:27 UTC

admin user in hive

Hi,

I want to enable authentication+authorization on my hive server. But I want
only one admin user who can create other user as admin/public. But by
default any user who types 'set role admin' can become admin and grants any
user any permission. How can i avoid this behavior?

Hive version is 0.13

Re: admin user in hive

Posted by Alan Gates <al...@gmail.com>.
Use the new SQL standard authorization rather than the default 
authorization.  See 
https://cwiki.apache.org/confluence/display/Hive/SQL+Standard+Based+Hive+Authorization

Alan.

> Megha Garg <ma...@gmail.com>
> April 6, 2015 at 4:08
> Hi,
>
> I want to enable authentication+authorization on my hive server. But I 
> want only one admin user who can create other user as admin/public. 
> But by default any user who types 'set role admin' can become admin 
> and grants any user any permission. How can i avoid this behavior?
>
> Hive version is 0.13