1. Store the user's preferred shell in their [custom attributes](https://docs.gitlab.com/api/custom_attributes/). 2. Introduce the command `chsh-gitlab` for changing the preferred shell of a user.
chsh-gitlabfor changing the preferred shell of a user.