Blame SOURCES/0999-NOUPSTREAM-Default-to-root-if-sssd-user-is-not-spec
|
|
5cd47f |
From 8d38a4b28ab7af15406b244910f369ba1aff02db Mon Sep 17 00:00:00 2001
|
|
|
5cd47f |
From: Jakub Hrozek <jhrozek@redhat.com>
|
|
|
5cd47f |
Date: Thu, 30 Oct 2014 15:59:17 +0100
|
|
|
5cd47f |
Subject: [PATCH 93/93] NOUPSTREAM: Default to root if sssd user is not
|
|
|
5cd47f |
specified
|
|
|
5cd47f |
|
|
|
5cd47f |
---
|
|
|
5cd47f |
src/monitor/monitor.c | 2 +-
|
|
|
5cd47f |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
5cd47f |
|
|
|
5cd47f |
diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c
|
|
|
5cd47f |
index 0dea327213a1ad04b6f69c0ffb0fb87254420796..20b4aef4ee94fd42de1585d7d7c2e01ea01845ac 100644
|
|
|
5cd47f |
--- a/src/monitor/monitor.c
|
|
|
5cd47f |
+++ b/src/monitor/monitor.c
|
|
|
5cd47f |
@@ -925,7 +925,7 @@ static int get_service_user(struct mt_ctx *ctx)
|
|
|
5cd47f |
|
|
|
5cd47f |
ret = confdb_get_string(ctx->cdb, ctx, CONFDB_MONITOR_CONF_ENTRY,
|
|
|
5cd47f |
CONFDB_MONITOR_USER_RUNAS,
|
|
|
5cd47f |
- SSSD_USER, &user_str);
|
|
|
5cd47f |
+ "root", &user_str);
|
|
|
5cd47f |
if (ret != EOK) {
|
|
|
5cd47f |
DEBUG(SSSDBG_FATAL_FAILURE, "Failed to get the user to run as\n");
|
|
|
5cd47f |
return ret;
|
|
|
5cd47f |
--
|
|
|
5cd47f |
1.9.3
|
|
|
5cd47f |
|