aristanetworks / anta

What do you call an ant with frogs legs?
https://anta.arista.com/
Apache License 2.0
53 stars 28 forks source link

issue running VerifyFileSystemUtilization bash commands #905

Open pvinci-arista opened 3 weeks ago

pvinci-arista commented 3 weeks ago

Commands fail for VerifyFileSystemUtilization.

bash timeout 10 df -h has failed: Authorization denied for command 'bash timeout 10 df -h'.

Are additional privileges/aaa requirements needed for running bash commands over eAPI?

gmuloc commented 3 weeks ago

Hey @pvinci-arista thanks for opening the issue. No problem to run it on a switch with

site2-wan1#show run | se aaa
no aaa root
aaa authorization exec default local

Screenshot 2024-10-29 at 22 29 13

Questions:

  1. Can the user used by ANTA run the command on the switch (if you can open a CLI session)?
  2. are you sure you don't have a specific AAA config that would block it?