<?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 Re: Permission denied - Ansible Hands On NXOS Sandbox in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/permission-denied-ansible-hands-on-nxos-sandbox/m-p/4450556#M2573</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1226460"&gt;@EvanC&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I've reported this issue to the DevNet Sandbox Support team. I've given them your info as well so we'll see who they reach out to first.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;P.S. There is a bot called &lt;SPAN&gt;Sandbot-Support DevNet to report issues in the future incase you need it.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Aug 2021 14:41:36 GMT</pubDate>
    <dc:creator>Alexander Stevenson</dc:creator>
    <dc:date>2021-08-17T14:41:36Z</dc:date>
    <item>
      <title>Permission denied - Ansible Hands On NXOS Sandbox</title>
      <link>https://community.cisco.com/t5/controllers/permission-denied-ansible-hands-on-nxos-sandbox/m-p/4439227#M2572</link>
      <description>&lt;P&gt;I'm playing with&amp;nbsp;the Ansible Hands On lab with NXOS Sandbox&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On step 3, I understand the purpose is to create a playbook to copy a customized hosts file to replace the default hosts files stored in /etc/hosts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I run the playbook as per the lab instruction, the `push new host file` task failed as it aks for sudo password&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TASK [Push new host file] *******************************************************************************************************************************************************************************************************************&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;fatal: [10.10.20.50]: FAILED! =&amp;gt; {"msg": "Failed to get information on remote file (/etc/hosts): sudo: a password is required\n"}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I try to copy the&amp;nbsp;customized hosts by myself via&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;$ sudo cp -r files/hosts /etc/hosts&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This cmd also failed:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;developer is not in the sudoers file. This incident will be reported.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems the user "&lt;SPAN&gt;developer" created for&amp;nbsp;NXOS Sandbox does not have sudo right.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone please advise how to proceed with this lab as a user without sudo right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 02:29:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/permission-denied-ansible-hands-on-nxos-sandbox/m-p/4439227#M2572</guid>
      <dc:creator>EvanC</dc:creator>
      <dc:date>2021-07-27T02:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Permission denied - Ansible Hands On NXOS Sandbox</title>
      <link>https://community.cisco.com/t5/controllers/permission-denied-ansible-hands-on-nxos-sandbox/m-p/4450556#M2573</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1226460"&gt;@EvanC&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I've reported this issue to the DevNet Sandbox Support team. I've given them your info as well so we'll see who they reach out to first.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;P.S. There is a bot called &lt;SPAN&gt;Sandbot-Support DevNet to report issues in the future incase you need it.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 14:41:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/permission-denied-ansible-hands-on-nxos-sandbox/m-p/4450556#M2573</guid>
      <dc:creator>Alexander Stevenson</dc:creator>
      <dc:date>2021-08-17T14:41:36Z</dc:date>
    </item>
  </channel>
</rss>

