reseller users setting

jiraict

New member
Joined
Apr 21, 2006
Messages
3
Well,

here is my case. I have searched the hole forum but no luck!
so than a post, maby this wil help.

I like the created a reseller in DA with the rights to only created for example 10 users. So not unlimited like it is right now. Can not find the setting any where?:confused:

I do not know if DA has this feature!

Hope there is a solution.

Regards,

Ray Bogman
Jira ICT
www.jira.nl

Joomla/gallery/SEO/security
 
You can set it in your original package design, and then overwrite it when you create a domain... but not for users; only for domains.

Is it important to set the number of users rather than domains?

Jeff
 
well here is the thing.

We like to create resellers with a max of 20 users they can create.
Or more or less. Now they can create a unlimited amount of unix(DA) users.

Well like to set up a sever with only Joomla resellers. With a pachage deal of

20 users
50 GB data storage
25 GB bandwith.

etc.......

And when some body needs to make more users they need to buy a larger package. So we stay in control.

Hope this feature is possible in the future. This will be a positieve issues in the business case for setting up a dedicated Joomla reseller server.

Thanx for the help.

Regards,

Ray Bogman
Jira ICT
www.jira.nl
 
It's not currently a feature, we can consider adding it to the feature is if there is enough support for it.

For the time being, you can already limit the number users by using the all_pre.sh script.
Here are some examples:
http://help.directadmin.com/?query=all_pre.sh

As for this case, something like this would work:
Code:
#!/bin/sh
MAX_USERS=[b]20[/b]
if [ "$command" = "/CMD_ACCOUNT_USER" ]; then
  CURRENT_COUNT=`grep -c -e '^' /usr/local/directadmin/data/users/$username/users.list`
  if [ "$CURRENT_COUNT" -ge $MAX_USERS ]; then
    echo "server is currently at it's limit of $MAX_USERS Users";
    exit 1;
  fi
fi
exit 0;
John
 
Personally I think this would be an excellent addition to the existing options...

Cheers...
 
Old thread but it belongs here I think...


I blocked adding domains with the all_pre.sh script. Works fine.

Now I want to block this only when the user belongs to the reseller admin. Other resellers should be able to add domains.

Is this possible you think ?
 
Back
Top