Upgraded to 25.04 from 24.10 and cannot change user password

The main problem is that smb/cifs share in fstab aren’t working anymore.

Research and testing with new datasets, shares, users and groups shows that resetting the password could be a solution.

But you get an error, if the user is a member of a builtin group.

Validation Error

[EINVAL] user_update.groups.6: www-data: membership of this builtin group may not be altered. [EINVAL] user_update.groups.8: docker: membership of this builtin group may not be altered.

More info…

When I remove the user of all the group(s) changing the password will work.

But then you get another problem. You cannot add the user to the builtin group again, of which before he was a member.

Why is this a problem? As the error message you got says, you aren’t supposed to be able to alter the membership of the built-in groups.

The problem is that you can’t edit or change the user password,

BECAUSE

the user is a member of a builtin group
to which he was added in a former truenas version.

…and my question was why? As you now know from your other thread, this isn’t supported–and modifying users from the shell has never been supported in any event. But why did you think you needed to do that in the first place?