From 4e1892cdfcc5300d6632200c38ba67f2783d15f2 Mon Sep 17 00:00:00 2001 From: Michal Zidek Date: Thu, 9 Oct 2014 17:25:34 +0200 Subject: PAM: Run pam responder as nonroot Reviewed-by: Pavel Reichl Reviewed-by: Simo Sorce --- src/monitor/monitor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/monitor') diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c index 297648a60..2f622e571 100644 --- a/src/monitor/monitor.c +++ b/src/monitor/monitor.c @@ -1062,7 +1062,8 @@ static errno_t get_ping_config(struct mt_ctx *ctx, const char *path, */ static bool svc_supported_as_nonroot(const char *svc_name) { - if (strcmp(svc_name, "nss") == 0) { + if ((strcmp(svc_name, "nss") == 0) + || (strcmp(svc_name, "pam") == 0)) { return true; } return false; -- cgit