FS#30896 - [incron] incron.install should use -r opption for 'useradd' and 'groupadd' commands
Attached to Project:
Community Packages
Opened by JB (techryda) - Saturday, 28 July 2012, 16:03 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 30 July 2012, 14:06 GMT
Opened by JB (techryda) - Saturday, 28 July 2012, 16:03 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 30 July 2012, 14:06 GMT
|
Details
Description:
incron.install should use -r option for 'useradd' and 'groupadd' commands: This will put the created user/group id in the SYS_UID_MIN-SYS_UID_MAX range defined in /etc/login.defs and keep the incron user from cluttering lists of actual users. The changed lines should look like: getent group incron > /dev/null || groupadd -r incron getent passwd incron > /dev/null || useradd -r -c "Incron system" -g incron -s /bin/false -d /var/spool/incron incron |
This task depends upon