|If you want to cap the number of Users created by a Reseller, you can use the user_create_pre.sh to do so.|
In this example, we'll see a maximum number of 10 Users for a Reseller, but you can change this number as desired.
1) Create the following file:
/usr/local/directadmin/scripts/custom/user_create_pre.shIn that script, add the code:
2) chmod the script to 755:
chmod 755 /usr/local/directadmin/scripts/custom/user_create_pre.sh
|Using domain_create_pre.sh to limit the number of domains allowed on a server|
© 2018 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST