collect password prompt timeouts too long

Bug #1942257 reported by Eric MacDonald
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Triaged
Low
Eric MacDonald

Bug Description

Brief Description
-----------------
Collect fails after a long timeout if the /etc/sudoers.d/sysadmin file is modified to NOPASSWD for ALL

      sysadmin ALL=(root) NOPASSWD: ALL

This case requests that collect fail more quickly with a better indication of the problem.

Severity
--------
Minor: is only improved error handling for an unsupported mode

Steps to Reproduce
------------------
using sudovi add "sysadmin ALL=(root) NOPASSWD: ALL" to /etc/sudoers.d/sysadmin

Expected Behavior
------------------
Error indicating that collect failed due to no password prompt

Actual Behavior
----------------
collect timed out after a long time with no indication that it was related to absent password prompting.

Reproducibility
---------------
100%

System Configuration
--------------------
Any

Branch/Pull Time/Commit
-----------------------
< Aug 31, 2021

Last Pass
---------
Never

Timestamp/Logs
--------------
N/A

Test Activity
-------------
Other: Case Analysis

Workaround
----------
remove password-less sudo for sysadmin

Tags: stx.tools
Changed in starlingx:
assignee: nobody → Eric MacDonald (rocksolidmtce)
Ghada Khalil (gkhalil)
tags: added: stx.tools
Changed in starlingx:
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.