<?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 system install blank cli in NSO Developer Hub Discussions</title>
    <link>https://community.cisco.com/t5/nso-developer-hub-discussions/system-install-blank-cli/m-p/3462140#M588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am doing my first nso system install for a production environment. After software installation (ncs 4.5.2), I add a user to the ncsadmin group, however when I login to ncs_cli the only option is "exit". What am I doing wrong here? I have not had this issue with local installs for development. I hate having to ask simple questions like this, but I just can't seem to find anything in the documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the steps that I have followed:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[user@nso ~]$ &lt;/SPAN&gt;sudo sh nso-4.5.2.linux.x86_64.install.bin --system-install&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[user@nso ~]$ sudo groupadd ncsadmin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[user@nso ~]$ sudo usermod -a -G ncsadmin user&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[user@nso ~]$ source /opt/ncs/ncs-4.5.2/ncsrc&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[user@nso ~]$ sudo systemctl start ncs&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[user@nso ~]$ ncs_cli&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;user connected from 192.168.0.172 using ssh on nso.auto.lab&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;user@ncs&amp;gt; ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Possible completions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; exit - Exit the management session&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;user@ncs&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Mar 2019 12:04:19 GMT</pubDate>
    <dc:creator>ryan-hitch</dc:creator>
    <dc:date>2019-03-01T12:04:19Z</dc:date>
    <item>
      <title>system install blank cli</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/system-install-blank-cli/m-p/3462140#M588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am doing my first nso system install for a production environment. After software installation (ncs 4.5.2), I add a user to the ncsadmin group, however when I login to ncs_cli the only option is "exit". What am I doing wrong here? I have not had this issue with local installs for development. I hate having to ask simple questions like this, but I just can't seem to find anything in the documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the steps that I have followed:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[user@nso ~]$ &lt;/SPAN&gt;sudo sh nso-4.5.2.linux.x86_64.install.bin --system-install&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[user@nso ~]$ sudo groupadd ncsadmin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[user@nso ~]$ sudo usermod -a -G ncsadmin user&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[user@nso ~]$ source /opt/ncs/ncs-4.5.2/ncsrc&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[user@nso ~]$ sudo systemctl start ncs&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[user@nso ~]$ ncs_cli&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;user connected from 192.168.0.172 using ssh on nso.auto.lab&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;user@ncs&amp;gt; ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Possible completions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; exit - Exit the management session&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;user@ncs&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 12:04:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/system-install-blank-cli/m-p/3462140#M588</guid>
      <dc:creator>ryan-hitch</dc:creator>
      <dc:date>2019-03-01T12:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: system install blank cli</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/system-install-blank-cli/m-p/3462141#M589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Argh. A reboot appears to have cleared this up, not sure why that would matter as I had stopped and started the ncs service repeatedly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2018 20:37:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/system-install-blank-cli/m-p/3462141#M589</guid>
      <dc:creator>ryan-hitch</dc:creator>
      <dc:date>2018-01-03T20:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: system install blank cli</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/system-install-blank-cli/m-p/3462142#M590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see the same behavior when following your approach above. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that the new group added 'ncsadmin' does not get recognized by NSO within the current shell (groups in current shell does not get updated with new group), see ncs audit.log output.&amp;nbsp; &lt;/P&gt;&lt;P&gt;If you log into a new shell then the groups gets update to include 'ncsadmin' and NSO will also see the new group applied to user1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[user1@CentOS7-1 ~]$ sudo usermod -a -G ncsadmin user1&lt;/P&gt;&lt;P&gt;[user1@CentOS7-1 ~]$ groups&lt;/P&gt;&lt;P&gt;user1&lt;/P&gt;&lt;P&gt;[user1@CentOS7-1 ~]$ groups user1&lt;/P&gt;&lt;P&gt;user1 : user1 ncsadmin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[user1@CentOS7-1 ~]$ sudo systemctl restart ncs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[user1@CentOS7-1 ~]$ ncs_cli&lt;/P&gt;&lt;P&gt;user1 connected from 127.0.0.1 using console on CentOS7-1&lt;/P&gt;&lt;P&gt;user1@ncs&amp;gt; ?&lt;/P&gt;&lt;P&gt;Possible completions:&lt;/P&gt;&lt;P&gt;&amp;nbsp; exit - Exit the management session&lt;/P&gt;&lt;P&gt;user1@ncs&amp;gt; &lt;/P&gt;&lt;P&gt;user1@ncs&amp;gt; exit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;==&amp;gt; /var/log/ncs/audit.log &amp;lt;==&lt;/P&gt;&lt;P&gt;&amp;lt;INFO&amp;gt; 3-Jan-2018::16:17:57.350 CentOS7-1 ncs[9708]: audit user: user1/47 assigned to &lt;STRONG&gt;groups: user1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;==&amp;gt; Log into a new shell:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[user1@CentOS7-1 ~]$ su user1&lt;/P&gt;&lt;P&gt;Password: &lt;/P&gt;&lt;P&gt;[user1@CentOS7-1 ~]$ groups user1&lt;/P&gt;&lt;P&gt;user1 : user1 ncsadmin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[user1@CentOS7-1 ~]$ groups&lt;/P&gt;&lt;P&gt;user1 ncsadmin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[user1@CentOS7-1 ~]$ ncs_cli&lt;/P&gt;&lt;P&gt;user1 connected from 127.0.0.1 using console on CentOS7-1&lt;/P&gt;&lt;P&gt;user1@ncs&amp;gt; ?&lt;/P&gt;&lt;P&gt;Possible completions:&lt;/P&gt;&lt;P&gt;&amp;nbsp; clear&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Clear parameter&lt;/P&gt;&lt;P&gt;&amp;nbsp; compare&amp;nbsp;&amp;nbsp;&amp;nbsp; - Compare running configuration to another configuration or a file&lt;/P&gt;&lt;P&gt;&amp;nbsp; configure&amp;nbsp; - Manipulate software configuration information&lt;/P&gt;&lt;P&gt;&amp;nbsp; describe&amp;nbsp;&amp;nbsp; - Display transparent command information&lt;/P&gt;&lt;P&gt;&amp;nbsp; exit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Exit the management session&lt;/P&gt;&lt;P&gt;&amp;nbsp; file&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Perform file operations&lt;/P&gt;&lt;P&gt;&amp;nbsp; help&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Provide help information&lt;/P&gt;&lt;P&gt;&amp;nbsp; id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Show user id information&lt;/P&gt;&lt;P&gt;&amp;nbsp; monitor&amp;nbsp;&amp;nbsp;&amp;nbsp; - Real-time debugging&lt;/P&gt;&lt;P&gt;&amp;nbsp; ping&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Ping a host&lt;/P&gt;&lt;P&gt;&amp;nbsp; ping6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Ping an ipv6 host&lt;/P&gt;&lt;P&gt;&amp;nbsp; quit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Exit the management session&lt;/P&gt;&lt;P&gt;&amp;nbsp; request&amp;nbsp;&amp;nbsp;&amp;nbsp; - Make system-level requests&lt;/P&gt;&lt;P&gt;&amp;nbsp; script&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Script actions&lt;/P&gt;&lt;P&gt;&amp;nbsp; set&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Set CLI properties&lt;/P&gt;&lt;P&gt;&amp;nbsp; set-path&amp;nbsp;&amp;nbsp; - Set relative show path&lt;/P&gt;&lt;P&gt;&amp;nbsp; show&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Show information about the system&lt;/P&gt;&lt;P&gt;&amp;nbsp; source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - File to source&lt;/P&gt;&lt;P&gt;&amp;nbsp; switch&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Change CLI style&lt;/P&gt;&lt;P&gt;&amp;nbsp; top&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Exit to top level and optionally run command&lt;/P&gt;&lt;P&gt;&amp;nbsp; traceroute - Trace the route to a remote host&lt;/P&gt;&lt;P&gt;&amp;nbsp; up&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Exit one level of configuration&lt;/P&gt;&lt;P&gt;user1@ncs&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;==&amp;gt; /var/log/ncs/audit.log &amp;lt;==&lt;/P&gt;&lt;P&gt;&amp;lt;INFO&amp;gt; 3-Jan-2018::16:20:24.552 CentOS7-1 ncs[9708]: audit user: user1/48 assigned to&lt;STRONG&gt; groups: ncsadmin,user1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-Larry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2018 21:46:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/system-install-blank-cli/m-p/3462142#M590</guid>
      <dc:creator>lmanor</dc:creator>
      <dc:date>2018-01-03T21:46:33Z</dc:date>
    </item>
  </channel>
</rss>

