Retire the shared admin login
For administrators. The login admin exists on every installation and is the first an attacker tries; shared use also
hides who did what. The project's procedure is in
Change the administrator password: Account hygiene; this page
is its checklist form.
Contents
Before you start
- Every person who uses
admintoday is known. - Shell access for the
UserCreatorIDchange and the break-glass test.
Steps
- Personal accounts: in Users > Administrator users, create one user per administrator with a personal login and a real e-mail address. Check under Roles and policies > Administrator that the group gives the role.
- Two-step sign-in for each of them (see the people-and-permissions tasks of this help).
- Each person signs in with the new account and checks their work.
- Move
UserCreatorIDbefore disablingadmin: insettings/override/site.ini.append.phpset[UserSettings] UserCreatorID=<object id of an enabled administrator or service account>(the shipped14isadmin; command-line tools and self-registration act as that account). Clear the INI cache and deploy. - Retire
admin, one of:- disable it: open the
adminuser > Configure user account settings > clear Enable user account > OK; - keep it enabled but unusable:
./console exp:resetuserpassword --allow-root-user -u admin -g -l 64, and do not keep the password.
- disable it: open the
- Break-glass: write down the procedure (root shell and
exp:resetuserpasswordfor an administrator account) and test it once a year on a copy.
Check that it worked
- Signing in as
adminfails. - A command-line tool that acts as
UserCreatorID(for example a trash purge on a test copy) runs. - The audit shows actions under personal logins from now on.
If something goes wrong
If nobody can sign in, use the break-glass procedure; the full set of recovery ways is in Change the administrator password.
Related pages
- Roles and least privilege
- The default administrator password
- Security hardening: Default and shared credentials
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.