From: Christian Kastner 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). Forwaded: not-needed Last-Update: 2011-07-28 --- Makefile.am | 5 ----- src/security.c | 2 +- 2 files changed, 1 insertions(+), 6 deletions(-) diff --git a/Makefile.am b/Makefile.am index 05c541a..8fa4d97 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,11 +3,6 @@ if ANACRON SUBDIRS += anacron endif -if PAM -pamdir = $(sysconfdir)/pam.d -dist_pam_DATA = pam/crond -endif - EXTRA_DIST = cronie.init crond.sysconfig contrib/anacrontab \ contrib/0anacron contrib/0hourly \ contrib/dailyjobs diff --git a/src/security.c b/src/security.c index f6940a5..28dda4d 100644 --- a/src/security.c +++ b/src/security.c @@ -172,7 +172,7 @@ int cron_start_pam(struct passwd *pw) { int retcode = 0; #if defined(WITH_PAM) - 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; --