Unsolved
1 Rookie
•
30 Posts
0
522
December 16th, 2020 06:00
avsysreport asking for password after upgrade to 19.3
We are helping monitor some Avamar Grids (Gen4T) for one of our customers. As part of this, we have a script that runs avsysreport commands to query the hardware status, as that is not easy to see in MCGUI or AUI. After Dell upgraded one system from 19.1 to 19.3 the avsysreport command now requires you to type in a password.
Example:
admin@AVAMAR:~/>: avsysreport chassis-info
[sudo] password for admin:
I assume that it has something to do with the OS upgrade from SLES 11 to SLES 12. Is there any way of getting around manually typing in the password? Can you load keys to get the required rights? The admin_key does not work, already tried that.
No Events found!
tleatoz
2 Posts
0
January 12th, 2021 22:00
Steve, This is an security enhancement. v19.3 enforces requiring a password for various commands that require sudo and used to operate without a password. This affects avsysreport.
To avoid typing password, you could use the rootid key and --user=root flag with mapall instead for running avsysreport.
Or use sudo -A avsysreport
Hope this help!!
-tle
spunna
1 Rookie
•
13 Posts
0
October 26th, 2023 00:24
Does sudo -A work with mapall without loading the dpnid and rootid key?