Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
util:allusers [2010/02/26 14:23] – Links to util:scfg changed to util:scfg:index digitalman | util:allusers [2020/01/11 21:39] (current) – Change title and update for modern paths digital man | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | FIXME | + | ALLUSERS can allow a sysop to modify the security settings for a large number of users with one command line. If you're a Synchronet sysop, you may have found yourself at one time or another going through the internal User Editor searching for users with a certain flag or exemption and changing their level, removing an exemption, adding a restriction, |
+ | |||
+ | This program attempts to eliminate the monotony of such a task. With a single command line, you can change security levels, add/remove flags, exemptions, or restrictions to some or all of the users in your database. | ||
+ | |||
+ | ===== Invoke ===== | ||
+ | |||
+ | The syntax is pretty simple: | ||
+ | |||
+ | Syntax | ||
+ | |||
+ | allusers / | ||
+ | |||
+ | |||
+ | ==== User Data Path ==== | ||
+ | |||
+ | The first parameter, (e.g. ''/ | ||
+ | |||
+ | ==== Requirements ==== | ||
+ | |||
+ | The second parameter, '' | ||
+ | |||
+ | * -L# set minimum level to # (default is 0) | ||
+ | * -M# set maximum level to # (default is 99) | ||
+ | * -F#< | ||
+ | * -E< | ||
+ | * -R< | ||
+ | |||
+ | Examples: | ||
+ | |||
+ | * -L20 indicates that only users with a level of 20 or higher will be modified | ||
+ | * -M80 indicates that only users with a level of 80 or lower will be modified | ||
+ | * -FC | ||
+ | * -F3G indicates that only users with flag ' | ||
+ | * -RA | ||
+ | |||
+ | If multiple requirement parameters are specified, they must each begin with a dash ' | ||
+ | |||
+ | Examples: | ||
+ | |||
+ | * -L50 -M59 indicates that only users between level 50 and 59 will be modified | ||
+ | * -RB -F2M | ||
+ | |||
+ | Multiple required flags may be specified as well. | ||
+ | |||
+ | Example: | ||
+ | |||
+ | * -F4AC | ||
+ | * -EPLM | ||
+ | |||
+ | ==== Modifications ==== | ||
+ | |||
+ | Next on the command line are one or more modification parameters. Each modification parameter begins with the slash '/' | ||
+ | |||
+ | * /L# set level to # | ||
+ | * / | ||
+ | * / | ||
+ | * / | ||
+ | |||
+ | Examples: | ||
+ | |||
+ | * /L20 indicates that all users' levels will be changed to 20 | ||
+ | * /FA | ||
+ | * /F3-G indicates that flag ' | ||
+ | * /E+L indicates that exemption ' | ||
+ | * /R-N indicates that restriction ' | ||
+ | |||
+ | Flag set #1 is the default, so "/ | ||
+ | Addition of flags (+) is the default, so "/ | ||
+ | Flags and parameters are not case sensitive, so "/ | ||
+ | |||
+ | Multiple modification parameters can be used. | ||
+ | |||
+ | Example: | ||
+ | |||
+ | * /L40 /F2-Z | ||
+ | |||
+ | Multiple flags per modification may be specified. | ||
+ | |||
+ | Example: | ||
+ | |||
+ | * /RAB | ||
+ | |||
+ | Complete Examples | ||
+ | |||
+ | To change all level 20 users to level 30, use the following command line: | ||
+ | |||
+ | allusers / | ||
+ | |||
+ | To give all QWKnet node users the ' | ||
+ | |||
+ | allusers / | ||
+ | |||
+ | To give all users below level 90, the ' | ||
+ | |||
+ | allusers / | ||
+ | |||
+ | To give all users with level 50 or higher, the ' | ||
+ | |||
+ | allusers / | ||
+ | |||
+ | To remove flag ' | ||
+ | |||
+ | allusers / | ||
===== See Also ===== | ===== See Also ===== | ||
- | * [[.:scfg: | + | * [[util: |