04-08-2014 01:21 AM
I have an unusual problem accessing the python on a Nexus 5548P.
The 5k is set up to use ACS authentication and my user account has the correct role set (network-admin) from the 'show user-account' command my account shows the correct role assignment and all other commands work as expected. When I try to enter the python shell I am prompted for a password to which I have no valid credentials and I get returned to the exec prompt after the following message:
sudo: 3 incorrect password attempts
ImportError: No module named site
If I then disable the ACS server and log into the default local admin account I can enter the python shell without any problem. If I log out and then enable the ACS server and log into to my normal user account I can now access the python shell. The problem returns after the switch is reloaded.
For completeness I also tried the above process without entering the python shell from the admin account and I was unable to access the shell on my user account.
Any ideas would be greatly appreciated.
Dan Hunter
Solved! Go to Solution.
04-08-2014 10:27 PM
Looks like a bug (CSCui43663). The workaround is as you describe. The bug is currently being investigated.
04-08-2014 10:27 PM
Looks like a bug (CSCui43663). The workaround is as you describe. The bug is currently being investigated.
04-09-2014 01:02 AM
Thanks Joseph, any idea when that bug will be made public?
04-09-2014 09:17 AM
The bug was filed by development, and it wasn't written in a way to be immediately made public. It will need a release note. I'm a bit bogged down at the moment, but if you open a TAC case, they should be able to adjust this bug to make it public.
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