Home
last modified time | relevance | path

Searched refs:runas_group (Results 1 – 20 of 20) sorted by relevance

/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/cli/arguments/
H A Doption_helpers.py315runas_group = parser.add_argument_group("Privilege Escalation Options", "control how and which use…
318runas_group.add_argument("-b", "--become", default=C.DEFAULT_BECOME, action="store_true", dest='be…
320runas_group.add_argument('--become-method', dest='become_method', default=C.DEFAULT_BECOME_METHOD,
323 runas_group.add_argument('--become-user', default=None, dest='become_user', type=str,
326 add_runas_prompt_options(parser, runas_group=runas_group)
329 def add_runas_prompt_options(parser, runas_group=None): argument
336 if runas_group is None:
337 runas_group = parser.add_argument_group("Privilege Escalation Options",
340 runas_group.add_argument('-K', '--ask-become-pass', dest='become_ask_pass', action='store_true',
344 parser.add_argument_group(runas_group)
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/lib/ansible/cli/arguments/
H A Doption_helpers.py315runas_group = parser.add_argument_group("Privilege Escalation Options", "control how and which use…
318runas_group.add_argument("-b", "--become", default=C.DEFAULT_BECOME, action="store_true", dest='be…
320runas_group.add_argument('--become-method', dest='become_method', default=C.DEFAULT_BECOME_METHOD,
323 runas_group.add_argument('--become-user', default=None, dest='become_user', type=str,
326 add_runas_prompt_options(parser, runas_group=runas_group)
329 def add_runas_prompt_options(parser, runas_group=None): argument
336 if runas_group is None:
337 runas_group = parser.add_argument_group("Privilege Escalation Options",
340 runas_group.add_argument('-K', '--ask-become-pass', dest='become_ask_pass', action='store_true',
344 parser.add_argument_group(runas_group)
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/lib/ansible/cli/arguments/
H A Doption_helpers.py323runas_group = parser.add_argument_group("Privilege Escalation Options", "control how and which use…
326runas_group.add_argument("-b", "--become", default=C.DEFAULT_BECOME, action="store_true", dest='be…
328runas_group.add_argument('--become-method', dest='become_method', default=C.DEFAULT_BECOME_METHOD,
331 runas_group.add_argument('--become-user', default=None, dest='become_user', type=str,
334 add_runas_prompt_options(parser, runas_group=runas_group)
337 def add_runas_prompt_options(parser, runas_group=None): argument
344 if runas_group is None:
345 runas_group = parser.add_argument_group("Privilege Escalation Options",
348 runas_group.add_argument('-K', '--ask-become-pass', dest='become_ask_pass', action='store_true',
352 parser.add_argument_group(runas_group)
/dports/security/sudo/sudo-1.9.8p2/plugins/python/
H A Dexample_policy_plugin.py164 runas_group = self.settings.get("runas_group")
165 if runas_group is None:
169 return grp.getgrnam(runas_group).gr_gid
172 "Could not find group '{}'".format(runas_group))
/dports/security/sudo/sudo-1.9.8p2/lib/iolog/regress/iolog_path/
H A Dcheck_iolog_path.c40 char *runas_group; member
60 free(data->runas_group); in reset_escape_data()
101 return strlcpy(str, escape_data.runas_group, strsize); in fill_runas_group()
224 if ((escape_data.runas_group = strdup(line)) == NULL) in main()
/dports/security/sudo/sudo-1.9.8p2/plugins/sample/
H A Dsample_plugin.c82 const char *runas_group = NULL; in policy_open() local
102 runas_group = *ui + sizeof("runas_group=") - 1; in policy_open()
125 if (runas_group != NULL) { in policy_open()
126 if ((gr = getgrnam(runas_group)) == NULL) { in policy_open()
127 sudo_log(SUDO_CONV_ERROR_MSG, "unknown group %s\n", runas_group); in policy_open()
/dports/security/sudo/sudo-1.9.8p2/plugins/sudoers/regress/fuzz/
H A Dfuzz_sudoers.c334 sudo_user.runas_group = ud->rungroup; in LLVMFuzzerTestOneInput()
336 runas_gr = sudo_getgrnam(sudo_user.runas_group); in LLVMFuzzerTestOneInput()
339 sudo_user.runas_group); in LLVMFuzzerTestOneInput()
343 sudo_user.runas_group = NULL; in LLVMFuzzerTestOneInput()
H A Dfuzz_policy.dict17 "runas_group"
/dports/sysutils/vchanger/vchanger/src/
H A Dvchanger.cpp98 tString runas_group; member
186 cmdl.runas_group.clear(); in parse_cmdline()
206 cmdl.runas_group = optarg; in parse_cmdline()
585 if (cmdl.runas_group.size()) conf.group = cmdl.runas_group; in main()
/dports/security/sudo/sudo-1.9.8p2/plugins/sudoers/
H A Dtestsudoers.c85 static char *runas_group, *runas_user; variable
147 runas_group = optarg; in main()
279 if (runas_group != NULL) { in main()
280 set_runasgr(runas_group); in main()
421 if (!runas_user && !runas_group) in cb_runas_default()
H A Dsudoers.c907 if (sudo_user.runas_group != NULL) { in init_vars()
908 if (!set_runasgr(sudo_user.runas_group, false)) in init_vars()
1391 if (sudo_user.runas_user == NULL && sudo_user.runas_group == NULL) in cb_runas_default()
H A Dsudoers.h91 char *runas_group; member
H A Dsudoreplay.c127 char *runas_group; member
1342 res = strcmp(sn->u.runas_group, evlog->rungroup) == 0; in match_expr()
H A Dlogging.c771 evlog->rungroup = runas_gr ? runas_gr->gr_name : sudo_user.runas_group; in sudoers_to_eventlog()
H A Dpolicy.c220 sudo_user.runas_group = *cur + sizeof("runas_group=") - 1; in sudoers_policy_deserialize_info()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/
H A Dswitch.c499 char *runas_group = NULL; in main() local
671 runas_group = local_argv[x]; in main()
1134 if (runas_user || runas_group) { in main()
1135 if (change_user_group(runas_user, runas_group) < 0) { in main()
1138 switch_strlen_zero(runas_group) ? "-" : runas_group); in main()
/dports/textproc/augeas/augeas-1.12.0/lenses/tests/
H A Dtest_sudoers.aug144 { "runas_group" = "ALL" } } } }
151 { "runas_group" = "ALL" } } } }
/dports/textproc/augeas/augeas-1.12.0/lenses/
H A Dsudoers.aug461 . alias_list "runas_group" sto_to_com
/dports/security/sudo/sudo-1.9.8p2/po/
H A Dfi.po537 # tämä viittaa runas_group-määritelyyn
/dports/security/sudo/sudo-1.9.8p2/
H A DChangeLog8909 runas_group in command_info[] o add missing .El at before start of
8976 Add runas_user and runas_group (if set) to command_info for audit
29819 runas_group to be global, make them local to parse_args() instead.
38864 number, user, group, runas_user, runas_group, hostname and command