The afd.users file


If this file does not exist (or AFD fails to read it) every user may do everything, if he as permission to write to the internal fifo's and database. To restrict access you can enter the users name together with the options he is allowed to use. Here follow some sample entries:

    operator  startup, afd_ctrl, control_transfer, show_slog
    afd       all

The user operator may startup the AFD, he may call afd_ctrl, start/stop a transfer and view the system log, nothing else. Whereas the user afd may do everything. The following table list and describes what permissions are available.

Permission Description
startup Start AFD
shutdown Shutdown AFD
initialize Initialize AFD
resend [host1 .. hostn] Resend files.
send Send files to host not in DIR_CONFIG from show_olog and/or show_queue dialog.
view_passwd View the password in the recipient string. If not set you will only see xxxx in place of the password.
set_passwd Set the password for a certain host and user.
list_limit x Limit the number of files in the show_xlog dialog to x. Otherwise these process might consume to much memory since they use the list widget.
show_slog [host1 .. hostn] View the system log dialog.
show_mlog [host1 .. hostn] View the maintainer log dialog.
show_elog [host1 .. hostn] View the event log dialog.
show_tlog [host1 .. hostn] View the transfer log dialog.
show_tdlog [host1 .. hostn] View the transfer debug log dialog.
show_rlog [host1 .. hostn] View the receive log dialog.
show_ilog [host1 .. hostn] View the input log dialog.
show_plog [host1 .. hostn] View the production log dialog.
show_olog [host1 .. hostn] View the output log dialog.
view_data View the data from archive in output log dialog.
show_dlog [host1 .. hostn] View the delete log dialog.
show_queue See what files are currently being queued on input, time and or output.
delete_queue Allows user to delete file from the queue. If you set this option then you must also set the above option show_queue.
mon_sys_log View the system log of afd_mon.
mon_log View the monitor log of afd_mon.
mon_info [afd1 .. afdn] Information about each AFD.
edit_mon_info Allow to edit the information in the mon_info dialog.
edit_hc Use the edit_hc dialog.
afd_ctrl View the afd_ctrl dialog.
rafd_ctrl View the afd_ctrl dialog via mon_ctrl dialog.
dir_ctrl View the dir_ctrl dialog.
disable_dir Enable/disable a certain directory monitored by AFD.
stop_dir Start/stop a certain directory monitored by AFD.
rescan Rescan a certain directory. Only useful for directories where time option is set in [dir options].
dir_info View the dir_info dialog.
edit_dir_info Allow to edit the information in the dir_info dialog.
AMG_control Start or stop process AMG, which is responsible for scanning local directories.
FD_control
handle_events Allows user to handle events via afd_ctrl and/or dir_ctrl dialog.
control_queue [host1 .. hostn] Start/Stop input queue. Stopping the queue means that AFD internally will not generate any messages, but no data is lost either. All current jobs that have a message will still be transmitted.
control_transfer [host1 .. hostn] Start/Stop transfer
control_host [host1 .. hostn] Start/Stop host. Stopping a host has the same effect as stopping transfer and queue.
switch_host [host1 .. hostn] Switch host if there is a secondary host.
disable [host1 .. hostn] Enable/Disable host
info [host1 .. hostn] Information about each host or AFD.
edit_afd_info Allow to edit the information in the afd_info dialog.
view_dir_config View how this host is configured in the DIR_CONFIG.
view_rename_rules Allow to view the rename rules.
debug [host1 .. hostn] Enable/Disable debug
trace [host1 .. hostn] Enable/Disable trace
full_trace [host1 .. hostn] Enable/Disable full trace
simulate_mode [host1 .. hostn] Enable/Disable simulation mode for a destination
ctrl_delete_data Enable/disable control of deleting data when option age-limit and/or delete queued files is set.
file_dir_check Force a a check of stale jobs in the file directory.
force_archive_check Force process archive_check to remove files in archive directory. archive_check does this at a fixed interval and afdcmd can be used to force a scan outside this interval.
show_exec_stat Allows usage of program to show and reset CPU clock times for exec/fork statistics.
search_old_files Allow to force a search for old files.
retry [host1 .. hostn] Send retry command for a host.
view_jobs View more detailed information about each current transfer.
afd_load View afd_load dialog.
reread_dir_config Reread DIR_CONFIG to activate any changes.
reread_host_config Reread HOST_CONFIG to activate any changes.
reread_interface_file Reread local_interface.list to activate any changes.
afdcmd Use of the command line program afdcmd to control most of the above.
afdcfg Use of the command line program afdcfg to enable/disable certain features in the AFD.
mon_ctrl View the mon_ctrl dialog.
mon_startup Start AFD monitor (afd_mon).
mon_shutdown Shutdown AFD monitor.
disable_afd Disable monitoring of an AFD.
mafdcmd Use of the command line program mafdcmd to control the AFD monitor.

Copyright © 1999 - 2021 by H.Kiehl
Holger.Kiehl@dwd.de
Last updated: 23.01.2021
[red dot]Index [red dot]Home