acua forEach {-p n} {-r n} [-u] <command>

acua forEach allows you to execute a command for each user. If {} is found in the command, the user's login name will be substituted. In acua.config, you may exclude specific users with the ForEachExclude directive. Example 1: To initialize your ACUA user file based on your /etc/passwd file, you might do: Example 2: To kick all users off of the system that are logged into ACUA:

        acua forEach -u acua kick "{}"

NOTE: The { and } are quoted in order to prevent the shell from interpreting them specially.

NOTE: User-defined flags are in the range [0-15]. See acua modRec for information on how to modify these flags.


Robert Davidson