Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
util:allusers [2012/04/24 01:32] buckaroo_banzaiutil:allusers [2020/01/11 21:39] (current) – Change title and update for modern paths digital man
Line 1: Line 1:
-====== Synchronet ALLUSERS Utility ======+====== Bulk User Editor ======
  
 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, etc. The User Editor's ARS search facility is very quick and flexible, but having to hand modify each user, even with the use of macros, can be very tedious with a large user database. 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, etc. The User Editor's ARS search facility is very quick and flexible, but having to hand modify each user, even with the use of macros, can be very tedious with a large user database.
  
-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. The syntax is pretty simple:+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 Syntax
  
-ALLUSERS C:\SBBS\DATA\USER -require /modify+  allusers /sbbs/data/user -require /modify
  
  
-User Data Path+==== User Data Path ====
  
-The first parameter, "C:\SBBS\DATA\USER" is the directory where your USER.DAT file is located. The example given is the default location of the USER.DAT file. If the USER.DAT is in the current directory, the path should be simply "." for current directory. This parameter is not optional.+The first parameter, (e.g. ''/sbbs/[[dir:data]]/user''is the directory where your Synchronet ''user.dat'' file is located.  If the ''user.dat'' file is in the current directory, the path should be simply "." for current directory. This parameter is not optional.
  
-Requirements+==== Requirements ====
  
-The second parameter, "-requireis optional. Use this parameter to specify a security requirement for the modifications to follow. Multiple "-requireparameters can be specified, and the syntax is as follows:+The second parameter, ''-require'' is optional. Use this parameter to specify a security requirement for the modifications to follow. Multiple ''-require'' parameters can be specified, and the syntax is as follows:
  
   * -L# set minimum level to # (default is 0)   * -L# set minimum level to # (default is 0)
Line 45: Line 49:
   * -F4AC    indicates that only users with both the 'A' and 'C' flags from flag set #4 will be modified   * -F4AC    indicates that only users with both the 'A' and 'C' flags from flag set #4 will be modified
   * -EPLM    indicates that only users with the 'P', 'L', and 'M' exemptions will be modified   * -EPLM    indicates that only users with the 'P', 'L', and 'M' exemptions will be modified
-  *  + 
-Modifications+==== Modifications ====
  
 Next on the command line are one or more modification parameters. Each modification parameter begins with the slash '/' character. The available modification parameters are as follows: Next on the command line are one or more modification parameters. Each modification parameter begins with the slash '/' character. The available modification parameters are as follows:
Line 72: Line 76:
  
   * /L40 /F2-Z   indicates that all users will be set to level 40 and have flag 'Z' from flag set #2 removed   * /L40 /F2-Z   indicates that all users will be set to level 40 and have flag 'Z' from flag set #2 removed
-  * +
 Multiple flags per modification may be specified. Multiple flags per modification may be specified.
  
Line 83: Line 87:
 To change all level 20 users to level 30, use the following command line: To change all level 20 users to level 30, use the following command line:
  
-ALLUSERS C:\SBBS\DATA\USER -L20 -M20 /L30+  allusers /sbbs/data/user -L20 -M20 /L30
  
 To give all QWKnet node users the 'M' exemption, use the following command: To give all QWKnet node users the 'M' exemption, use the following command:
  
-ALLUSERS C:\SBBS\DATA\USER -RQ /EM+  allusers /sbbs/data/user -RQ /EM
  
 To give all users below level 90, the 'B' restriction, use the following: To give all users below level 90, the 'B' restriction, use the following:
  
-ALLUSERS C:\SBBS\DATA\USER -M89 /RB+  allusers /sbbs/data/user -M89 /RB
  
 To give all users with level 50 or higher, the 'M' and 'L' exemptions: To give all users with level 50 or higher, the 'M' and 'L' exemptions:
  
-ALLUSERS C:\SBBS\DATA\USER -L50 /EML+  allusers /sbbs/data/user -L50 /EML
  
 To remove flag 'C' from flag sets #1 and #2 from all users: To remove flag 'C' from flag sets #1 and #2 from all users:
  
-ALLUSERS C:\SBBS\DATA\USER /F1-C /F2-C+  allusers /sbbs/data/user /F1-C /F2-C
  
 ===== See Also ===== ===== See Also =====
   * [[util:index|Utilities]]   * [[util:index|Utilities]]