As your hosting business grows, more people need access to WHMCS: support agents, billing staff, a developer. Giving everyone full admin rights is risky. WHMCS's administrator roles let you grant only what each person needs, and two-factor authentication protects every account against stolen passwords.
Before you start
- A full administrator account in WHMCS.
- A list of staff and what each needs to do.
Review the built-in roles
Go to Configuration → System Settings → Administrator Roles. WHMCS ships with Full Administrator, Sales Operator and Support Operator. You can edit them or create your own.
Create a custom role
- Click Add New Role Group and name it, for example
Billing Staff. - Tick the permissions the role needs, for example View Invoices, Manage Invoice, Add Transaction, View Clients Summary. Leave out Configure General Settings, Manage Servers and Configure Payment Gateways.
- Choose which widgets appear on their dashboard.
- Choose which email notifications the role can receive.
- Click Save Changes.
Tip: support staff rarely need to see full payment details or to delete clients. Removing those permissions limits damage if an account is ever compromised.
Add a staff member
- Go to Configuration → System Settings → Manage Admin Users (or Administrator Users).
- Click Add New Administrator.
- Choose the Administrator Role.
- Enter first name, last name, email and a unique user name.
- Set a strong temporary password and ask them to change it.
- Under Assigned Departments, tick the support departments they handle.
- Set Ticket Notifications as needed and click Save Changes.
Enable two-factor authentication
- Go to Configuration → System Settings → Two-Factor Authentication.
- Activate Time Based Tokens (works with Google Authenticator, Authy, Microsoft Authenticator) and optionally Duo Security or Yubico.
- Tick Enable for Admin Users and Force Admin Users to Enable.
- Optionally Enable for Clients so customers can protect their accounts.
- Save. Each admin is asked to scan a QR code at next login and receives backup codes.
Review activity
- Utilities → Logs → Admin Log shows each staff login with IP address and time.
- Utilities → Logs → Activity Log records actions such as invoice changes, with the admin's name.
- Disable accounts of former staff immediately with Disable in Manage Admin Users rather than deleting them, to keep the audit trail.
Troubleshooting
- Staff cannot see a menu: the role lacks the matching permission.
- Staff cannot see tickets: they are not assigned to that department.
- Lost 2FA device: another full administrator can disable 2FA on the user's profile; otherwise use a backup code.
- 2FA codes rejected: the phone's time is off; enable automatic time.
