08-07-2025 08:04 PM
Hello,
I set up Sandbox for NDFC Ansible lab.
I following the instructions including the provided credentails.
I was able to successfully VPN an into Sandbox.
However, when I am tried to usesudo with the provided develop account I receive:
devbox | 10.10.20.50 | developer | C1sco12345! |
developer@devbox:~$ sudo apt install net-tools
[sudo] password for developer:
Sorry, try again.
[sudo] password for developer:
developer is not in the sudoers file.
Please advise.
Thanks.
Setting up the Environment - NDFC with Ansible Learning Lab - Cisco DevNet Learning Labs Center
08-08-2025 04:41 AM
I think sudo was removed from all devboxes and the account should be able to run this without sudo access.
08-09-2025 07:26 PM
I tried both:
developer@devbox:~$ sudo apt-get update
[sudo] password for developer:
developer is not in the sudoers file.
developer@devbox:~$ apt-get update
Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
name address username password
ndfc | https://10.10.20.60 | admin | 1vtG@lw@y |
devbox | 10.10.20.50 | developer | C1sco12345! |
spine1 | 10.10.20.171 | admin | C1sco12345 |
spine2 | 10.10.20.172 | admin | C1sco12345 |
leaf1 | 10.10.20.173 | admin | C1sco12345 |
leaf2 | 10.10.20.174 | admin | C1sco12345 |
leaf3 | 10.10.20.175 | admin | C1sco12345 |
leaf4 | 10.10.20.176 | admin | C1sco12345 |
edge | 10.10.20.180 | admin | C1sco12345 |
gitlab | http://10.10.20.54:8080 | devadmin | C1sco12345 |
gitlab | http://10.10.20.54:8080 | developer | C1sco12345 |
redis | 10.10.20.54:6379 | NA | CICDRedisDevnet |
postgres | 10.10.20.54:5432 | tfuser | TFisC00l |
netbox | http://10.10.20.54:8000 | devadmin | C1sco12345 |
08-10-2025 12:58 AM
That’s a pickle then. The devnet team will need to update the lab, or perms for that to work.
08-11-2025 08:37 AM
Thank you. Do you know whom to contact at the DevNet Team; I cannot imagine to be the only one facing this issue.
08-11-2025 09:11 AM
They (devnet team) monitor the community quite closely for this. You can also fill in a report here https://github.com/CiscoDevNet/learning-labs-issues too
08-12-2025 12:09 AM
Hi thanks for reporting this and an apology for the frustration. At the moment we don't have resources on DevNet covering DC content, so is hard to keep it updated. I will share with the team to fix it.
08-12-2025 07:49 PM - edited 08-14-2025 02:29 PM
Please do so. Thanks.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide