27 lines
834 B
Diff
27 lines
834 B
Diff
|
From: Christian Kastner <ckk@kvr.at>
|
||
|
Date: Thu, 28 Jul 2011 11:11:45 +0200
|
||
|
Subject: Rename PAM service to cronie
|
||
|
|
||
|
Upstream uses "crond"; we switch to "cron" to avoid confusion with Debian's ISC
|
||
|
cron (it uses "cron" but that might change).
|
||
|
|
||
|
Forwarded: not-needed
|
||
|
Last-Update: 2011-07-28
|
||
|
---
|
||
|
src/security.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/src/security.c b/src/security.c
|
||
|
index d4d768e..8fd0642 100644
|
||
|
--- a/src/security.c
|
||
|
+++ b/src/security.c
|
||
|
@@ -195,7 +195,7 @@ int cron_set_job_security_context(entry *e, user *u ATTRIBUTE_UNUSED,
|
||
|
int cron_start_pam(struct passwd *pw) {
|
||
|
int retcode = 0;
|
||
|
|
||
|
- retcode = pam_start("crond", pw->pw_name, &conv, &pamh);
|
||
|
+ retcode = pam_start("cronie", pw->pw_name, &conv, &pamh);
|
||
|
PAM_FAIL_CHECK;
|
||
|
retcode = pam_set_item(pamh, PAM_TTY, "cron");
|
||
|
PAM_FAIL_CHECK;
|