Displaying 1 result from an estimated 1 matches for "sudojoe".
2010 Jun 30
7
augeas and sudo woes
...",
"set spec[last()]/host_group/command/runas_user ALL",
],
}
In that example, the command line looked like this:
"set spec[last()]/host_group/command ALL",
I added NOPASSWD: and it barfs with this message:
err: //user::unixadmins/User::Virtual::Sudoer[joe]/Augeas[sudojoe]/
returns: change from need_to_run to 0 failed: Save failed with return
code false
The problem seems to be the colon '':'' since NOPASSWD:ALL also fails
but this doesn''t error:
"set spec[last()]/host_group/command NOPASSWD ALL",
Unfortunately, that doesn'&...