<?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 Giving cli access to specific commands in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Giving-cli-access-to-specific-commands/m-p/52434#M12256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to create a new local group (e.g. auditors) and a new role (e.g. r_auditors). Then add the command cli-lun-show* to the role and the user account into the group. This way this particular user can only execute the lun show cli command...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To have him connect with the cli you also need to add thisi capability to the role "r_auditors":&lt;/P&gt;&lt;P&gt;login-ssh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the command to&amp;nbsp; accomplish this:&lt;/P&gt;&lt;P&gt;useradmin group&lt;/P&gt;&lt;P&gt;useradmin role&lt;/P&gt;&lt;P&gt;useradmin user&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jul 2011 08:50:34 GMT</pubDate>
    <dc:creator>peter_lehmann</dc:creator>
    <dc:date>2011-07-06T08:50:34Z</dc:date>
    <item>
      <title>Giving cli access to specific commands</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Giving-cli-access-to-specific-commands/m-p/52428#M12253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I want to provide an auditor cli access to our Netapp system. I obviously dont want to give this person root access or even compliance or power user. What I want is to create a new user with access to only certain commands - or rather only commands with specific flags. For example, I want to give this person access to "lun show -m" rather than "lun offline". If I create a new profile for this user, I'm only able to add "cli-lun" which gives access to all the sub-commands under it. Does anyone know a way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:51:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Giving-cli-access-to-specific-commands/m-p/52428#M12253</guid>
      <dc:creator>JITHUSUDHAKAR</dc:creator>
      <dc:date>2025-06-05T06:51:19Z</dc:date>
    </item>
    <item>
      <title>Giving cli access to specific commands</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Giving-cli-access-to-specific-commands/m-p/52434#M12256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to create a new local group (e.g. auditors) and a new role (e.g. r_auditors). Then add the command cli-lun-show* to the role and the user account into the group. This way this particular user can only execute the lun show cli command...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To have him connect with the cli you also need to add thisi capability to the role "r_auditors":&lt;/P&gt;&lt;P&gt;login-ssh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the command to&amp;nbsp; accomplish this:&lt;/P&gt;&lt;P&gt;useradmin group&lt;/P&gt;&lt;P&gt;useradmin role&lt;/P&gt;&lt;P&gt;useradmin user&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 08:50:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Giving-cli-access-to-specific-commands/m-p/52434#M12256</guid>
      <dc:creator>peter_lehmann</dc:creator>
      <dc:date>2011-07-06T08:50:34Z</dc:date>
    </item>
    <item>
      <title>Giving cli access to specific commands</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Giving-cli-access-to-specific-commands/m-p/52439#M12259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is the command I gave:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;useradmin role modify auditorrole -a login-ssh,cli-lun-show*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but getting error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Invalid capabilities: cli-lun-show*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jithu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 08:57:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Giving-cli-access-to-specific-commands/m-p/52439#M12259</guid>
      <dc:creator>JITHUSUDHAKAR</dc:creator>
      <dc:date>2011-07-06T08:57:51Z</dc:date>
    </item>
    <item>
      <title>Giving cli access to specific commands</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Giving-cli-access-to-specific-commands/m-p/52443#M12261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Anyone has any idea about this? &lt;SPAN __jive_emoticon_name="plain" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon" src="https://community.netapp.com/4.5.5/images/emoticons/plain.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 05:11:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Giving-cli-access-to-specific-commands/m-p/52443#M12261</guid>
      <dc:creator>JITHUSUDHAKAR</dc:creator>
      <dc:date>2011-07-07T05:11:38Z</dc:date>
    </item>
    <item>
      <title>Giving cli access to specific commands</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Giving-cli-access-to-specific-commands/m-p/52447#M12264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I was wrong with my example cli-lun-show*...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://kb.netapp.com/support/index?page=content&amp;amp;id=3011260" target="_blank"&gt;https://kb.netapp.com/support/index?page=content&amp;amp;id=3011260&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can set it to all commands with cli* or one level deeper e.g. cli-vol* or cli-lun*, that's it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 13:37:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Giving-cli-access-to-specific-commands/m-p/52447#M12264</guid>
      <dc:creator>peter_lehmann</dc:creator>
      <dc:date>2011-07-07T13:37:13Z</dc:date>
    </item>
    <item>
      <title>Giving cli access to specific commands</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Giving-cli-access-to-specific-commands/m-p/52456#M12268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks, Peter &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 03:44:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Giving-cli-access-to-specific-commands/m-p/52456#M12268</guid>
      <dc:creator>JITHUSUDHAKAR</dc:creator>
      <dc:date>2011-07-08T03:44:40Z</dc:date>
    </item>
  </channel>
</rss>

