User Commands ezmlm-cron(1) NNNNAAAAMMMMEEEE ezmlm-cron - Sets up digest request messages generation via crond SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS eeeezzzzmmmmllllmmmm----ccccrrrroooonnnn [ -ccccCCCCddddDDDDllllLLLL ][ -wwww _d_o_w ][ -tttt _h_h:_m_m ][ -iiii _h_r_s ] _l_i_s_- _t_a_d_r _c_o_d_e[_f] DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN eeeezzzzmmmmllllmmmm----ccccrrrroooonnnn is a very restrictive interface to ccccrrrroooonnnndddd((((8888)))). It edits the effective user's ~/crontab (see crontab(5)) file. It then executes ccccrrrroooonnnnttttaaaabbbb((((1111)))) to update crond(8) with the changes. eeeezzzzmmmmllllmmmm----ccccrrrroooonnnn sets up the generation of trigger messages to the list _l_i_s_t_a_d_r and the digest code _c_o_d_e. A optional digest format specifier _f can be added to _c_o_d_e. eeeezzzzmmmmllllmmmm----ccccrrrroooonnnn reads _d_i_r////eeeezzzzccccrrrroooonnnnrrrrcccc, where _d_i_r is the home direc- tory of the effective user. The first line of this file is the host name, 'host', to which bounces should be sent. Any bounces for lists set up by 'user' will go to 'user@host'. Subsequent lines are entries for users made up of: _u_s_e_r:_l_o_c_a_l:_h_o_s_t:_n_u_m:[_l_i_s_t_1[,_l_i_s_t_2...]]. The ':'-separated parameters are: _u_s_e_r the user name to which this line corresponds. _l_o_c_a_l the list address must start with exactly these charac- ters (case sensitive). If this field is empty, any list local address is allowed. _h_o_s_t the list host name must exactly match this parameter (case insensitive). If this field is empty, any list host address is allowed. (Host names for the list and the digest list must still match.) _n_u_m the user is permitted a maximum of _n_u_m entries. _l_i_s_t_1 [,_l_i_s_t_2...] a set of complete list names separated by commas. The user may edit entries for these lists, even if they do not match the criteria set above. If these lists exist, they are counted in determining _n_u_m. No while space is allowed before or between list names. If no list names are specified, the final ':' can be omitted. The first line matching the executing user will be used. If eeeezzzzmmmmllllmmmm----ccccrrrroooonnnn is installed SUID _e_u_s_e_r, the SunOS 5.11 Last change: 1 User Commands ezmlm-cron(1) configuration and crontab files from that user's home directory will be used for all eeeezzzzmmmmllllmmmm----ccccrrrroooonnnn actions. This way, users on a system can be given limited ccccrrrroooonnnndddd((((8888)))) access via eeeezzzzmmmmllllmmmm----ccccrrrroooonnnn restricted by _d_i_r////eeeezzzzccccrrrroooonnnnrrrrcccc and to the generation of digest trigger messages. This is especially useful for users without shell access or access to ccccrrrroooonnnndddd((((8888)))). _e_u_s_e_r is usually 'ezmlm'. To install eeeezzzzmmmmllllmmmm----ccccrrrroooonnnn SUID ezmlm: # chown ezmlm /usr/local/bin/ezmlm/ezmlm-cron # chmod 4555 /usr/local/bin/ezmlm/ezmlm-cron eeeezzzzmmmmllllmmmm----ccccrrrroooonnnn refuses to run if installed SUID root. eeeezzzzmmmmllllmmmm----ccccrrrroooonnnn when executed by 'root', will still use the files in ~root. To allow ccccrrrroooonnnndddd((((8888)))) access, you may need to list the effective user (all users allowed access or ~ezmlm if eeeezzzzmmmmllllmmmm----ccccrrrroooonnnn is installed SUID ezmlm) in ////eeeettttcccc////ccccrrrroooonnnn....aaaalllllllloooowwww. See ccccrrrroooonnnnttttaaaabbbb((((1111)))) for further information. OOOOPPPPTTTTIIIIOOOONNNNSSSS The -cccc, -dddd, and -llll switches are mutually exclusive. -cccc List user entry from _e_z_c_r_o_n_r_c. -CCCC (Default.) Do not list user entry. -dddd Delete entry. eeeezzzzmmmmllllmmmm----ccccrrrroooonnnn will search ~_e_u_s_e_r////ccccrrrroooonnnnttttaaaabbbb for an entry belonging to the executing user, permitted by ~_e_u_s_e_r////eeeezzzzccccrrrroooonnnnrrrrcccc and matching the command line argu- ments supplied. _c_o_d_e is ignored and may be omitted. -DDDD (Default.) Do not delete entry. -iiii _h_r_s Generate trigger message with _h_r_s hours interval. Accepted intervals are 0, 1 ,2, 3, 6, 12, 24, 48, and 72 hours. Other numbers will be silently adjusted upwards to the nearest accepted interval (intervals above 72 hours will result in weekly trigger messages). -llll List entries. If no other command line arguments are given, eeeezzzzmmmmllllmmmm----ccccrrrroooonnnn lists the entries created in the name of the user. If _l_i_s_t_a_d_r is given, eeeezzzzmmmmllllmmmm----ccccrrrroooonnnn will list the entries for all the matching lists, even if the entries were not set up by the current user. Arguments, if given, still have to comply with the rules set in _e_z_c_r_o_n_r_c. Crude ccccrrrroooonnnnttttaaaabbbb((((5555)))) lines are listed. These are taken from SunOS 5.11 Last change: 2 User Commands ezmlm-cron(1) the ~/crontab file. Usually, these are active entries, although if the last execution of ccccrrrroooonnnnttttaaaabbbb((((1111)))) failed, they may not be. -LLLL (Default.) Do not list entry. -tttt _h_h:_m_m The time for the trigger message. Other trigger mes- sages will be sent _h_r_s hours before and after this time. -wwww _d_o_w The days of the week on which trigger messages are sent. day 0 and 7 are Sunday, 1 is Monday, etc (see crontab(5)). The string specified for _d_o_w must consists of single comma-separated digits in the range '0'-'7' only. The default is every day, except for _h_r_s of 48 (default Monday, Wednesday, Friday), 72 (default Monday and Thursday), or greater than 72 (default Monday). Both _h_r_s and _d_o_w can be specified. In this case, trigger messages are sent on the day specified by _d_o_w at the interval specified by _h_r_s. If _h_r_s is greater than 24 h, it is ignored and trigger messages are gen- erated daily or as specified by _d_o_w. FFFFIIIILLLLEEEESSSS ~_e_u_s_e_r/_e_z_c_r_o_n_r_c The configuration file for eeeezzzzmmmmllllmmmm----ccccrrrroooonnnn. _e_u_s_e_r is the effective user id. This is the executing user, unless eeeezzzzmmmmllllmmmm----ccccrrrroooonnnn is installed SUID _o_t_h_e_r_u_s_e_r, in which case it is _o_t_h_e_r_u_s_e_r. ~_e_u_s_e_r/_c_r_o_n_t_a_b The file edited by eeeezzzzmmmmllllmmmm----ccccrrrroooonnnn. _e_u_s_e_r is the effective user. ~_e_u_s_e_r/_c_r_o_n_t_a_b_l The lock file used to assure that only one process at a time is editing the ccccrrrroooonnnndddd((((8888)))) settings. _e_u_s_e_r is the effective user. BBBBUUUUGGGGSSSS eeeezzzzmmmmllllmmmm----ccccrrrroooonnnn should use the output of 'crontab -l' to list crontab lines, rather than parse the crontab file (and assume that the last execution of ccccrrrroooonnnnttttaaaabbbb((((1111)))) was success- ful). SSSSEEEEEEEE AAAALLLLSSSSOOOO crond(8), crontab(1), crontab(5), ezmlm(5), ezmlm-get(1) SunOS 5.11 Last change: 3