HomeFreeBSD

MFC r305269: cron: use existing maximum username constant MAXLOGNAME

Description

MFC r305269: cron: use existing maximum username constant MAXLOGNAME

Previously cron had its own maximum username length limit, which was
smaller than the system's MAXLOGNAME. This could lead to crontab -u
updating the wrong user's crontab (if the name was truncated, and
matched another user).

PR: 212305
Reported by: Andrii Kuzik

Details

Provenance
emasteAuthored on
Parents
rS305422: MFV r305420:
Branches
Unknown
Tags
Unknown