5 peruser_anacrontabs
=/var
/spool
/cron
/anacrontabs
6 peruser_anacronspool
=/var
/spool
/anacron
/users
8 users
=${users// /$'\n'}
10 install -d $peruser_anacrontabs -m 0711 -o root
-g root
11 install -d $peruser_anacronspool -m 0755 -o root
-g root
13 getent passwd |
while IFS
=: read user x uid pgid gecos home shell
15 if grep -qx "$user" <<<"$users"
17 install -d "$peruser_anacronspool/$user" -m 0770 -o root
-g "$pgid"
19 crontab
=$peruser_anacrontabs/$user
21 chown root
:$pgid "$crontab"
26 sudo
-u "$user" anacron
-t "$crontab" -S "$peruser_anacronspool/$user"