Limited Administration (e-mail only)

johnnybravoh

Member
Oct 2, 2003
9
0
151
Is there a way to give a user limited access to WHM? I need to give someone the ability to add/remove/modify email accounts, but do nothing else.

Any ideas/solutions???
 

johnnybravoh

Member
Oct 2, 2003
9
0
151
Thanks for the info.

Where do I find this (and other) themes???

Can I associate a theme with a login - i.e.
master=>StandardTheme
workerbee=>EmailOnlyTheme
 

tsg247

Active Member
Feb 8, 2004
36
0
156
Georgia
Yes, login to whm, scroll down to the "Modify an Account" option, select the user you want to have the mail-only theme, click ok, then on the theme dropdown, select "xmail", click save, and you're done.
 

johnnybravoh

Member
Oct 2, 2003
9
0
151
Thank you for the advice.

I've gone to Account Functions->Modify Accounts, selected the account and could then have applied the xmail theme. The only problem is that I need one user to have be xmail and another user to have access to the entire functionality of WHM. I looked for a "add user to account" option but I could find none.

What do you suggest?

Thanks again!
 

tsg247

Active Member
Feb 8, 2004
36
0
156
Georgia
So what you're looking for is to have one domain with two users that can access the cpanel for that domain: one user can access full features with the x theme and one user can access just email features with the xmail theme?

Not quite sure that this can be done...
 

johnnybravoh

Member
Oct 2, 2003
9
0
151
yes - this is exactly what I want.

Is there any way to do this even outside the framework of Cpanel? i.e. something that can be done in the shell - in a .conf file, etc....?
 

tsg247

Active Member
Feb 8, 2004
36
0
156
Georgia
Well, I know you can't do it in httpd.conf... adding any type of additional user in here for an account will cause apache to fail. Maybe someone else might know if this can be done?
 

johnnybravoh

Member
Oct 2, 2003
9
0
151
Well it seems I've found it.

First, add a user via the shell.

Second, go to /var/cpanel/users and copy a user from the domain you're interested in. Name the user the same as the username you've just added.

Edit the file and change the line that reads RS=xxx to RS=xmail.

There is one thing... The new user doesn't have access to the existing list of mail accounts the old user did. Must figure that one out...

Anyway it's the right path I think.
 

tsg247

Active Member
Feb 8, 2004
36
0
156
Georgia
I tried this myself and found that when you copy the file in the var/cpanel/users folder, then the domain is listed twice in whm's user management... this is why the email addresses aren't showing up... cpanel thinks there's two accounts with two different domains, even though the domain is the same... I'm working on this too...