useradd change default shell code example Example: change user default shell chsh --shell [/bin/sh | your_shell] [your_user]