utilities/tools/collector
Salma Police 8ef2b5500f Enhance collect tool to detect passwordless sudo
The collect tool expects a password prompt for all sudo operations.
When passwordless sudo is enabled the collect script times out
waiting for a password prompt that never comes.

This update enhances collect tool to detect passwordless sudo
for getting a password prompt on its first sudo operaton and
fails the collect if there is no password prompt.

Test plan:

Verify by enabling  passwordless sudo
PASS:  collect fails with message

Verify by disabling passwordless sudo
PASS: No passwordless sudo passes and collect proceeds
PASS: Collect is rejected when provided with incorrect password

Story: 2009968
Task: 46767
Signed-off-by: Salma Police <salma.police@windriver.com>
Change-Id: I11239a25757a929a5679441b7a90586657a623f8
2022-11-14 11:22:49 -05:00
..
centos Add new log to the device and interface info files. 2021-01-13 16:31:36 -03:00
debian Debian: Update collect tool to gather ostree info 2022-05-11 20:00:12 +00:00
debian-scripts Added more helm information to collect tool 2022-10-11 12:02:32 -03:00
report Add flake8-import-order and use python3.9 on tox 2022-09-13 21:49:41 +00:00
scripts Enhance collect tool to detect passwordless sudo 2022-11-14 11:22:49 -05:00
LICENSE Relocate collector to stx-integ/tools/collector 2018-08-01 12:24:00 -04:00