Project

General

Profile

Feature #7522

Validate sudoers files before replacing

Added by Zack Cerza about 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

In teuthology/task/internal.py, use visudo -c -f <name> to validate sudoers files before we replace them.

See http://tracker.ceph.com/issues/7369

Also available in: Atom PDF