dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone

Blame SOURCES/0999-NOUPSTREAM-Default-to-root-if-sssd-user-is-not-spec

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