How to I remove users from built-in groups?

I have a TrueNAS Scale box that’s currently running 25.10.1 - Goldeye, having been upgraded from earlier versions.

I tried to change the shell for one of my user accounts and got a complaint around membership in the docker group, about it no longer being possible to change membership in built-in groups.

I see previous conversations about this change e.g., here and here.

I’m not upset about the change, but I seem to be stuck. I can’t make any changes to the user account (e.g. changing the shell) because the UI gets upset about the group membership.

In particular, I can’t seem to fix the group membership.

I tried fixing it it in the GUI but was blocked by the same warning I was trying to fix.

I’ve tried (though I know I’m not supposed to mess around with the system from the shell)

  • editing /etc/groups; and separately
  • `sudo deluser username_goes_here wheel
    • (and other groups)

But the UI seems to remember the membership.

How can I get things into a state that makes Goldeneye happy?

Details on what you are doing and why may help other posters understand why you are trying to make the changes or suggest alternatives. It may help TrueNAS company with some feedback on the current Goldeye.

Make Goldeye happy by not making changes :grinning_face:

Well, this all started when I wanted to change the shell for my user to zsh. Apparently a bad idea.

The UI wouldn’t let me make that change, because that user is in docker and wheel and one or two other built-in groups.

That user is in those groups because it’s been in those groups for years and years.

I don’t really care about being in those groups, so I’d be happy to remove myself from them.

But I can’t, because that involves modifying built-in group membership.

CATCH-22.

So, what I’d like to do is change the shell for my user via the UI.

Seems like to get there I need to remove my user from those groups that it’s in because of history. Happy to make the change, but I can’t seem to.

Maybe just create a new user. Posting details on the current ‘user’, how you use it and the current details of that user may help understanding. There have been a lot of software changes from Core and through all the different versions of Scale. Hoping you get feedback from TrueNAS team

I suppose that’s a possibility, though it feels silly.

Even if I did, I’d like to use my usual username (hard to teach an old dog new tricks).

I’m not convinced that I can delete the current user without tripping over the same problem.