Project

General

Profile

Actions

Bug #10579

closed

Sudoers directive gives an error in Audit mode

Added by Rémi Verchère over 7 years ago. Updated almost 5 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Techniques
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Medium
Priority:
0
Name check:
Fix check:
Regression:

Description

Hello,

When I use the Sudoers directive, I get an error in Audit mode:

sudoersFile
    The generated sudoers file is invalid. Not updating /etc/sudoers. This should not happen.

I do not have the issue when the node or the global setting is in Enforce mode.

Actions #1

Updated by Alexis Mousset over 7 years ago

  • Category set to Techniques
  • Target version set to 4.0.5
Actions #2

Updated by François ARMAND over 7 years ago

  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Getting started - demo | first install | level 1 Techniques
Actions #3

Updated by François ARMAND over 7 years ago

  • Severity changed from Minor - inconvenience | misleading | easy workaround to Major - prevents use of part of Rudder | no simple workaround
  • Priority changed from 0 to 54
Actions #4

Updated by Alexis Mousset over 7 years ago

  • Effort required set to Medium
  • Priority changed from 54 to 53

The way the technique currently works is by copying the sudoers file to a temporary file, then editing it, checking it with visudo, and comparing it with the original. We can't easily change the audit mode in a technique because it is hard to reset it to previous value.

Fixing this requires a way to temporarily disabling audit mode in a technique, setting to medium.

Actions #5

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 4.0.5 to 4.0.6
Actions #6

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 4.0.6 to 4.0.7
  • Priority changed from 53 to 52
Actions #7

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 4.0.7 to 357
Actions #8

Updated by Alexis Mousset over 7 years ago

  • Target version changed from 357 to 4.1.6
  • Priority changed from 52 to 51
Actions #9

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 4.1.6 to 4.1.7
  • Priority changed from 51 to 50
Actions #10

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 4.1.7 to 4.1.8
Actions #11

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 4.1.8 to 4.1.9
  • Priority changed from 50 to 48
Actions #12

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 4.1.9 to 4.1.10
  • Priority changed from 48 to 47
Actions #13

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 4.1.10 to 4.1.11
  • Priority changed from 47 to 45
Actions #14

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.11 to 4.1.12
  • Priority changed from 45 to 44
Actions #15

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.12 to 4.1.13
Actions #16

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.13 to 4.1.14
Actions #17

Updated by Benoît PECCATTE over 6 years ago

  • Target version changed from 4.1.14 to 4.1.15
Actions #18

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.1.15 to 4.1.16
Actions #19

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.1.16 to 4.1.17
Actions #20

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 4.1.17 to 4.1.18
  • Priority changed from 44 to 0
Actions #21

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 4.1.18 to 4.1.19
Actions #22

Updated by Alexis Mousset almost 6 years ago

  • Target version changed from 4.1.19 to 4.1.20
Actions #23

Updated by François ARMAND over 5 years ago

  • Target version changed from 4.1.20 to 4.1.21
Actions #24

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.21 to 4.1.22
Actions #25

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.22 to 4.1.23
Actions #26

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.23 to 4.1.24
Actions #27

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.24 to 588
Actions #28

Updated by Alexis Mousset over 5 years ago

  • Status changed from New to Rejected

This has been fixed when porting the technique to separated file generation.

Actions #29

Updated by Alexis Mousset almost 5 years ago

  • Target version changed from 588 to 4.1.24
Actions

Also available in: Atom PDF