Automation

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



Expand all | Collapse all

Can I run python script directly frrm Juniper shell prompt ?

Jump to Best Answer
  • 1.  Can I run python script directly frrm Juniper shell prompt ?

    Posted 12-21-2020 16:48

    root@vMX-1# run start shell user root
    root@vMX-1:/var/db/scripts/commit # ls
    demo-1.py
    root@vMX-1:/var/db/scripts/commit # ls -l
    total 2
    -rwxr-xr-x 1 root wheel 502 Dec 21 20:58 demo-1.py
    root@vMX-1:/var/db/scripts/commit # ./demo-1.py
    ./demo-1.py: Authentication error.

    Any insights ?

    thanks in advance !!



  • 2.  RE: Can I run python script directly frrm Juniper shell prompt ?
    Best Answer

    Posted 12-21-2020 21:37

    HI, executing unsigned binaries  or scripts is not allowed. 



    ------------------------------
    Anatoliy Kushner
    ------------------------------



  • 3.  RE: Can I run python script directly frrm Juniper shell prompt ?

    Posted 12-21-2020 21:41

    thanks for clarification !!




  • 4.  RE: Can I run python script directly frrm Juniper shell prompt ?

    Posted 07-20-2021 02:37
    You can find available command from
    root@vMX-1% cd /bin/​

    ------------------------------
    SHISHEER TELI
    ------------------------------



  • 5.  RE: Can I run python script directly frrm Juniper shell prompt ?

    Posted 07-20-2021 06:06
    -------------------------------------------
    Original Message:
    Sent: 07-20-2021 02:36
    From: SHISHEER TELI
    Subject: Can I run python script directly frrm Juniper shell prompt ?

    You can find available command from
    root@vMX-1% cd /bin/​

    ------------------------------
    SHISHEER TELI
    ------------------------------

    Original Message:
    Sent: 12-21-2020 16:47
    From: Unknown User
    Subject: Can I run python script directly frrm Juniper shell prompt ?




  • 6.  RE: Can I run python script directly frrm Juniper shell prompt ?

    Posted 07-20-2021 09:07
    thanks !!