F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

TZJ4's avatar
TZJ4
Icon for Nimbostratus rankNimbostratus
Mar 04, 2020

Is it possible to run shell script with user TMSH access

The resource admin with TMOS access want to run shell script (.sh), I already find the way to run on the TMSH mode. But I can't find the way.

(Also try to find Ansible module linux on cli but not work)

 

Anyone, can suggest me please.

 

Thank you

2 Replies

  • if you use run /util bash that will put you in a bash prompt. You should be able to run the script from there.

  • Well - shell - bash can be given to admins and res admins. But there are cases like remote roles where you cannot give bash for res admin. Only it has to be an admin. So it depends what type of authentication your box is having.

     

    Also its not a good practice to give bash for res admin. Only admin should have bash. Res admin should have tmsh access alone.

     

    Sometimes for automation, You would need an admin account to get the jobs easier.