Project

General

Profile

Bug #3324 ยป 0001-Fixed-not-to-produce-an-invalid-sudoers-file-when-a-command-was-specified.patch

patch - Michael Gliwinski, 2013-02-27 10:22

View differences:

techniques/systemSettings/userManagement/sudoParameters/1.0/sudoParameters.st
"lines[$(index)]" string => "%$($(name)[$(index)]) ALL=(ALL) ALL",
ifvarclass => "(sudo_$(index)_isgroup.sudo_$(index)_alldo.!sudo_$(index)_nopasswd).(sudo_$(index)_command_notempty|sudo_$(index)_alldo)";
"lines[$(index)]" string => "%$($(name)[$(index)]) ALL=(ALL) NOPASSWD:$(command)",
"lines[$(index)]" string => "%$($(name)[$(index)]) ALL=(ALL) NOPASSWD:$($(command)[$(index)])",
ifvarclass => "(sudo_$(index)_isgroup.sudo_$(index)_nopasswd.!sudo_$(index)_alldo).(sudo_$(index)_command_notempty|sudo_$(index)_alldo)";
"lines[$(index)]" string => "%$($(name)[$(index)]) ALL=(ALL) $(command)",
"lines[$(index)]" string => "%$($(name)[$(index)]) ALL=(ALL) $($(command)[$(index)])",
ifvarclass => "(sudo_$(index)_isgroup.!sudo_$(index)_nopasswd.!sudo_$(index)_alldo).(sudo_$(index)_command_notempty|sudo_$(index)_alldo)";
"lines[$(index)]" string => "$($(name)[$(index)]) ALL=(ALL) NOPASSWD:ALL",
......
"lines[$(index)]" string => "$($(name)[$(index)]) ALL=(ALL) ALL",
ifvarclass => "(sudo_$(index)_isuser.sudo_$(index)_alldo.!sudo_$(index)_nopasswd).(sudo_$(index)_command_notempty|sudo_$(index)_alldo)";
"lines[$(index)]" string => "$($(name)[$(index)]) ALL=(ALL) NOPASSWD:$(command)",
"lines[$(index)]" string => "$($(name)[$(index)]) ALL=(ALL) NOPASSWD:$($(command)[$(index)])",
ifvarclass => "(sudo_$(index)_isuser.sudo_$(index)_nopasswd.!sudo_$(index)_alldo).(sudo_$(index)_command_notempty|sudo_$(index)_alldo)";
"lines[$(index)]" string => "$($(name)[$(index)]) ALL=(ALL) $(command)",
"lines[$(index)]" string => "$($(name)[$(index)]) ALL=(ALL) $($(command)[$(index)])",
ifvarclass => "(sudo_$(index)_isuser.!sudo_$(index)_nopasswd.!sudo_$(index)_alldo).(sudo_$(index)_command_notempty|sudo_$(index)_alldo)";
"all_lines" slist => getvalues("lines");
-
    (1-1/1)