First login
mii creates one administrator, admin, with a random password. Nobody chose it, so change it after you sign in.

Find the password
- Windows (Lite)
- Linux (Lite)
- Docker (Lite)
- Plant stack
Get-Content C:\ProgramData\MakeIntelligent\FIRST-LOGIN.txt
Only Administrators and SYSTEM can read the file.
sudo cat /var/lib/makeintelligent/FIRST-LOGIN.txt
docker exec mii cat /data/FIRST-LOGIN.txt
docker compose -f compose.plant.yml exec mi-console cat /run/mii/secrets/admin_password
The user name is in /run/mii/secrets/admin_username (admin).
In Lite the file looks like this:
mii Lite first login
URL: http://localhost:8080
username: admin
password: <generated>
Change this password after signing in, then delete this file.
The password is 43 characters (32 random bytes, base64url). It is created once at the first start and also stored in secrets/admin.password. Changing the password later does not rewrite the file.
Sign in and change the password
- Open
http://<server>:8080. - Enter Username
adminand the password. You can set another first-administrator name withMI_ADMIN_USERNAMEinmii.envbefore the first start. - Open Settings → Profile.
- Click Change password. Enter Current password, New password and Confirm new password, then click Update password.
- Delete
FIRST-LOGIN.txt.
mii does not force a password change at the first login. Do it yourself.
Password policy
Local accounts follow these rules:
| Rule | Value |
|---|---|
| Length | 12 to 128 characters |
| Whitespace | No leading or trailing whitespace |
| Character classes | At least 2 of lowercase, uppercase, digits, symbols |
| Repetition | Not a single repeated character |
| User name | Must not contain the user name (when it has 3 or more characters) |
| Common passwords | A denylist is checked (for example password, changeme, admin123, qwerty, and product words like mii, scada, plc) |
Passwords are stored with argon2id.
Lockout and rate limit
| Protection | Behaviour |
|---|---|
| Account lockout | 5 failed sign-ins lock the account for 15 minutes |
| Sign-in rate limit | Per client address: a burst of 10, then one attempt every 6 seconds. Error MI-4003 with Retry-After. |
| Session | The access token lasts 1 hour and renews while you work. A session ends at most 12 hours after the sign-in. |
LDAP and SSO accounts change their password in the directory, not in mii. See LDAP and SSO.
Switch the language
The Console starts in Turkish. Click the TR / EN button in the top bar, or choose the language in Settings → Profile → Language. The choice is stored in your browser.
Lost the admin password
Another administrator can set a new one in Settings → Users (New password (optional) on the user). The generated password is also kept in the secrets (secrets/admin.password in Lite).
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
FIRST-LOGIN.txt not found | Service never started, or wrong path | Check mii status; see the path for your platform above. |
| "Too many attempts" (MI-4003) | Rate limit | Wait for the Retry-After time. |
| Account locked | 5 failed attempts | Wait 15 minutes, or ask another administrator to reset the password. |
| New password rejected | Policy | Use 12 or more characters, mixed classes, not common. |