Default user package(s) for resellers

Erquilon

Verified User
Joined
Jun 5, 2014
Messages
6
I got a VPS with DirectAdmin. I will use it to host a bunch of websites. The websites that I will host can be divided in 2 groups: my clients websites, and my personal websites.

To maintain a clear overview of these websites I created 2 reseller accounts within DirectAdmin. 1 for my clients websites, and 1 for my personal websites.

For all these websites I would like to create a couple of (default) user packages. My question is if I can somehow create user packages that can be used by all resellers.

Right now the only option is to create the user packages on both resellers. If I were to add more resellers to group my websites even further, it would be a lot of work in case I want to change the user packages.

So, is there some way to set default user packages for all resellers to use?

thanks in advance.
 
Hello,

Here is a possible way to go http://help.directadmin.com/item.php?id=190 :

1. Create user packages on reseller level for admin (they will be stored in /usr/local/directadmin/data/users/admin/packages/ /usr/local/directadmin/data/users/admin/packages.list).

2. Use /usr/local/directadmin/scripts/custom/user_create_post_confirmed.sh or /usr/local/directadmin/scripts/custom/user_create_post.sh to copy user packages from admin to a reseller on new reseller creation.

That's it.

Related:

user_create_post_confirmed.sh: http://www.directadmin.com/features.php?id=1158
user_create_post.sh: http://www.directadmin.com/features.php?id=183
 
Hmm, that didn't work for me. Did everything it said, but the packages didn't get copied to new resellers. But, if it did, I assume they only get copied? So if I wanted to change something later, I still need to go into multiple reseller accounts to make the changes?

Well, I assume I'll just have to create and update the packages for every separate reseller? Not that much of a problem though, it's only a couple of reseller accounts.
 
From here it's impossible to say why it did not work for you. It should work.

> But, if it did, I assume they only get copied?

Yes, packages should get copied. Make sure you've got user packages for your "admin" reseller.

>
I still need to go into multiple reseller accounts to make the changes?

Yes

>
update the packages for every separate reseller?

Yes, right.
 
Back
Top