Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2019 02:46:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 235792] cron(8) does not respect login.conf environment vars
Message-ID:  <bug-235792-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235792

            Bug ID: 235792
           Summary: cron(8) does not respect login.conf environment vars
           Product: Base System
           Version: 11.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: andrew@tao11.riddles.org.uk

cron source code says:

/* Set user's entire context, but skip the environment
 * as cron provides a separate interface for this

The fact that environment variables can be set in the crontab doesn't justi=
fy
ignoring login.conf; it just introduces usability obstacles by requiring
duplicate settings everywhere. cron should respect all parts of the user's
login class, not pick and choose.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235792-227>