opt/fcron/pre-install
Juergen Daubert 3417cac635 fcron: use systab, use fcron user
I take the opportunity of the CRUX 2.5 release change to do two
long standing adjustments:

* use a determinded user fcron
* use systab instead of root for system crontab
2008-11-24 09:32:43 +01:00

7 lines
186 B
Bash

#!/bin/sh
getent group fcron || /usr/sbin/groupadd -g 45 fcron
getent passwd fcron || /usr/sbin/useradd -g fcron -u 45 -d /var/spool/fcron -s /bin/false fcron
/usr/bin/passwd -l fcron