<?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 know which group is linked to a sentry role by command line in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/how-to-know-which-group-is-linked-to-a-sentry-role-by/m-p/351151#M236170</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11191"&gt;@araujo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this command "&lt;STRONG&gt;SHOW ROLE GRANT GROUP group name&lt;/STRONG&gt;" I know and already used, I thought there was a command that did the opposite.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;well I will check in mysql then and soon return if it worked.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Aug 2022 12:32:44 GMT</pubDate>
    <dc:creator>yagoaparecidoti</dc:creator>
    <dc:date>2022-08-30T12:32:44Z</dc:date>
    <item>
      <title>how to know which group is linked to a sentry role by command line</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-know-which-group-is-linked-to-a-sentry-role-by/m-p/351102#M236152</link>
      <description>&lt;P&gt;hello cloudera community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can we find out which group is tied to a sentry role by command line?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 20:46:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-know-which-group-is-linked-to-a-sentry-role-by/m-p/351102#M236152</guid>
      <dc:creator>yagoaparecidoti</dc:creator>
      <dc:date>2022-08-29T20:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to know which group is linked to a sentry role by command line</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-know-which-group-is-linked-to-a-sentry-role-by/m-p/351105#M236155</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96163"&gt;@yagoaparecidoti&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do the reverse with the command "SHOW ROLE GRANT GROUP group name;".&lt;/P&gt;&lt;P&gt;I don't think there's a command to do exactly what you need, but you can query the database directly:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;select
  r.ROLE_NAME,
  g.GROUP_NAME
from
  SENTRY_GROUP g
  join SENTRY_ROLE_GROUP_MAP rg on rg.GROUP_ID = g.GROUP_ID
  join SENTRY_ROLE r on r.ROLE_ID = rg.ROLE_ID
order by
  r.ROLE_NAME,
  g.GROUP_NAME
;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 23:04:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-know-which-group-is-linked-to-a-sentry-role-by/m-p/351105#M236155</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-08-29T23:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to know which group is linked to a sentry role by command line</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-know-which-group-is-linked-to-a-sentry-role-by/m-p/351151#M236170</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11191"&gt;@araujo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this command "&lt;STRONG&gt;SHOW ROLE GRANT GROUP group name&lt;/STRONG&gt;" I know and already used, I thought there was a command that did the opposite.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;well I will check in mysql then and soon return if it worked.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 12:32:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-know-which-group-is-linked-to-a-sentry-role-by/m-p/351151#M236170</guid>
      <dc:creator>yagoaparecidoti</dc:creator>
      <dc:date>2022-08-30T12:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to know which group is linked to a sentry role by command line</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-know-which-group-is-linked-to-a-sentry-role-by/m-p/351190#M236182</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96163"&gt;@yagoaparecidoti&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The opposite command doesn't exist, as far as I know. Querying the database is the only option that I'm aware.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 22:41:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-know-which-group-is-linked-to-a-sentry-role-by/m-p/351190#M236182</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-08-30T22:41:13Z</dc:date>
    </item>
  </channel>
</rss>

