Allow non-sudo escalations and add option for checking existing commands before running

Registered by Ryan Walker

For linux discoveries, sudo is not always enabled. In these cases, we should allow the user to specify a root password and escalate privileges to root using the provided password and 'su'.

Also include a keyword argument on remote_execute, `allow_many`, which can be set to False,
and will ensure that the command to be issued is not already running before executing.

Blueprint information

Status:
Not started
Approver:
Sam Stavinoha
Priority:
Undefined
Drafter:
Ryan Walker
Direction:
Approved
Assignee:
Ryan Walker
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/allow-non-sudo-escalation,n,z

Addressed by: https://review.openstack.org/115774
    Allow non-sudo escalations and prevent cmd dupes

Addressed by: https://review.openstack.org/116072
    Allow non-sudo escalations and prevent cmd dupes

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.