search for: runas_us

Displaying 4 results from an estimated 4 matches for "runas_us".

Did you mean: runas_user
2010 Jun 30
7
augeas and sudo woes
...o${name}": context => "/files/etc/sudoers", changes => [ "set spec[last() + 1]/user ${name}", "set spec[last()]/host_group/host ALL", "set spec[last()]/host_group/command NOPASSWD: ALL", "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 f...
2010 Jul 27
0
Augeas working inconsistently
...st $host", "set spec[user = ''$user'']/host_group/command ''$command''", "remove spec[user = ''$user'']/host_group/command/tag", "set spec[user = ''$user'']/host_group/command/runas_user $runas", ], # this isn''t a real tag, but a sneaky hack to remove entries DELETE => "remove spec[user = ''$user'']", default => [ "set spec[user = ''$user'']/user $user", &qu...
2005 Jul 18
0
why $cdr{'CALLERID'} and $cdr{'DNID'} are empty in perl agi connected with asterisk manager
...w.portaone.com # Oleksandr Kapitanenko <kapitan@portaone.com> # use strict; use Asterisk::Manager; use Sys::Syslog; use POSIX; use Config::IniFiles; use Authen::Radius; Authen::Radius->load_dictionary; # Lock file # my $lock_file = '/var/run/ast-rad-acc.pid'; # Config vars # my $runas_user = 'nobody'; my $ast_hostname = 'localhost'; my $ast_username = 'test'; my $ast_password = 'test'; my $monitor_dir = '/var/spool/asterisk/monitor'; # Read global RADIUS configuratuin from extensions.conf # # I havte doing that but Asterisk manager interfa...
2010 Nov 19
6
augeas / sudoers
Hello everybody! How can i create with puppet following sudoers file: User_Alias CENTREON=apache,nagios CENTREON ALL = NOPASSWD: /etc/init.d/nagios* restart CENTREON ALL = NOPASSWD: /etc/init.d/nagios* reload CENTREON ALL = NOPASSWD: /usr/bin/nagios* -v * The problem that augeas create only last line, replacing previous one. -- You received this message because you are subscribed to