Project

General

Profile

Bug #5187

Technique "Sudo utility configuration": Incorrect use of commands without their full path

Added by Nicolas CHARLES over 5 years ago. Updated over 5 years ago.

Status:
Released
Priority:
3
Category:
Techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

In #5140 we introduced a change in Technique Sudo Parameters to check the version of visudo, by checking version and parsing with sed and awk
However, we forgot to use the full path of these commands.

It has no real impact (it prevents from using strict mode at all), but it's ugly


Related issues

Related to Rudder - Bug #5140: Sudo techniques can fail on Debian 6 if the original files defines Command aliasesReleased2014-06-25Actions

Associated revisions

Revision cc5d533b (diff)
Added by Nicolas CHARLES over 5 years ago

Fixes #5187: use commands with their full paths in sudo parameters

Revision 8bbf885e
Added by Jonathan CLARKE over 5 years ago

Merge pull request #434 from ncharles/bug_5187/dev/invalid_use_of_commands_without_paths

Fixes #5187: use commands with their full paths in sudo parameters

History

#1

Updated by Nicolas CHARLES over 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Jonathan CLARKE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/434
#2

Updated by Nicolas CHARLES over 5 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset policy-templates:commit:cc5d533b709350b1221039efa1b52ff3a26568d7.

#3

Updated by Jonathan CLARKE over 5 years ago

Applied in changeset policy-templates:commit:8bbf885e3c5a74f516cc5ed3feba7dd815fd1688.

#4

Updated by Nicolas PERRON over 5 years ago

  • Subject changed from Incorrect use of commands without their full path in Sudo Parameter technique to Technique "Sudo utility configuration": Incorrect use of commands without their full path
#5

Updated by Nicolas PERRON over 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.6.17, which was released today.
Check out:

Also available in: Atom PDF