Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
root@vMX-1# run start shell user rootroot@vMX-1:/var/db/scripts/commit # lsdemo-1.pyroot@vMX-1:/var/db/scripts/commit # ls -ltotal 2-rwxr-xr-x 1 root wheel 502 Dec 21 20:58 demo-1.pyroot@vMX-1:/var/db/scripts/commit # ./demo-1.py./demo-1.py: Authentication error.
Any insights ?
thanks in advance !!
HI, executing unsigned binaries or scripts is not allowed.
thanks for clarification !!
Using Python Interactive Mode on Devices Running Junos OSTo invoke Python 2.7 or Python 3 in interactive mode on supported devices running Junos OS, enter the python or python3 command, respectively, at the shell prompt. Python 3 is available on devices running Junos OS Release 19.4R1 or later.so which vmx version are you running? in shell mode, Ｉthink you can run a python test.py