Home
last modified time | relevance | path

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

/systemd-251/src/run/
Drun.c52 static const char *arg_exec_user = NULL; variable
309 arg_exec_user = optarg; in parse_argv()
744 if (arg_exec_user) { in transient_service_set_properties()
745 r = sd_bus_message_append(m, "(sv)", "User", "s", arg_exec_user); in transient_service_set_properties()
1499 if (arg_exec_user) { in start_transient_scope()
1504 …r = get_user_creds(&arg_exec_user, &uid, &gid, &home, &shell, USER_CREDS_CLEAN|USER_CREDS_PREFER_N… in start_transient_scope()
1506 return log_error_errno(r, "Failed to resolve user %s: %m", arg_exec_user); in start_transient_scope()
1520 r = strv_extendf(&user_env, "USER=%s", arg_exec_user); in start_transient_scope()
1524 r = strv_extendf(&user_env, "LOGNAME=%s", arg_exec_user); in start_transient_scope()