From 76c8dafad2a18cf1514635aa766062085c23a5c8 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Fri, 17 Oct 2014 18:14:53 +0200 Subject: SSH: Run the ssh responder as the SSSD user Reviewed-by: Pavel Reichl Reviewed-by: Simo Sorce --- src/responder/ssh/sshsrv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/responder/ssh/sshsrv.c') diff --git a/src/responder/ssh/sshsrv.c b/src/responder/ssh/sshsrv.c index b154ee1ba..b1969b49d 100644 --- a/src/responder/ssh/sshsrv.c +++ b/src/responder/ssh/sshsrv.c @@ -215,7 +215,8 @@ int main(int argc, const char *argv[]) /* set up things like debug, signals, daemonization, etc... */ debug_log_file = "sssd_ssh"; - ret = server_setup("sssd[ssh]", 0, 0, 0, CONFDB_SSH_CONF_ENTRY, &main_ctx); + ret = server_setup("sssd[ssh]", 0, uid, gid, + CONFDB_SSH_CONF_ENTRY, &main_ctx); if (ret != EOK) { return 2; } -- cgit