summaryrefslogtreecommitdiffstats
path: root/src/run
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-08-20 16:06:41 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-08-20 16:06:41 +0200
commit43ad3ad7ea3dfc93d91e8bc3a47a03596705c93c (patch)
tree7f60ccdffa581d6a13ddbb3083a16408ea1bc735 /src/run
parentuser-util: rework get_user_creds() (diff)
downloadsystemd-43ad3ad7ea3dfc93d91e8bc3a47a03596705c93c.tar.xz
systemd-43ad3ad7ea3dfc93d91e8bc3a47a03596705c93c.zip
Rename USER_CREDS_SYNTHESIZE_FALLBACK to …_PREFER_NSS
Diffstat (limited to 'src/run')
-rw-r--r--src/run/run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run/run.c b/src/run/run.c
index effbbb62cc..dfbb3e2236 100644
--- a/src/run/run.c
+++ b/src/run/run.c
@@ -1245,7 +1245,7 @@ static int start_transient_scope(
uid_t uid;
gid_t gid;
- r = get_user_creds(&arg_exec_user, &uid, &gid, &home, &shell, USER_CREDS_CLEAN|USER_CREDS_SYNTHESIZE_FALLBACK);
+ r = get_user_creds(&arg_exec_user, &uid, &gid, &home, &shell, USER_CREDS_CLEAN|USER_CREDS_PREFER_NSS);
if (r < 0)
return log_error_errno(r, "Failed to resolve user %s: %m", arg_exec_user);