Disable "root" in installer

Description

Its time to disable allowing a root user in the installer, its been essentially deprecated for quite some time.

The preferred solution would be to allow the user to input a custom admin username if at all possible, but its understandable that might be too much work. If thats the case we should always just default to truenas_admin instead.

Problem/Justification

root user is no longer the preferred one for quite some time, since the introduction of admins and roles. We should no longer allow it to be used.

Impact

Users will have to resort to truenas_admin by default or some other user.

Activity

Show:

Bug Clerk January 27, 2025 at 6:08 PM

This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Caleb January 27, 2025 at 6:08 PM

We actually prevent using the root account in the installer and it has been this way since EE (IIRC). Either way, this is done. The other component to this is preventing a "root" account from being created via our API. That will have to happen in this PR: https://github.com/truenas/middleware/pull/15441

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Priority

More fields

Katalon Platform

Created September 19, 2024 at 5:28 PM
Updated February 27, 2025 at 9:18 PM
Resolved January 27, 2025 at 6:08 PM