Can't set user's default shell
dshoreman opened this issue · comments
Dave Shoreman commented
When creating users it's possible they'll end up logging in through SSH, so it'd be nice if we could set the user's shell to something other than bash. A dropdown of shells discovered on the system would be fantastic, but not the most feasible. A basic text input defaulting to /bin/zsh
would likely suffice.
useradd
-s, --shell SHELL
The name of a new user's login shell.
This option sets the SHELL variable in /etc/default/useradd.
usermod
-s, --shell SHELL
The name of the user's new login shell. Setting this field to blank causes
the system to select the default login shell.