New answers tagged source
If you wish to create a user with the bash shell by default use this command: useradd -m -s /bin/bash <userName> Replace <userName> with the name of the user you wish to create.
This user's shell is /bin/sh. This is a smaller shell, which uses fewer resources than bash but offers fewer programming features and next to no interactive features. Run sudo chsh -s /bin/bash harry to change the user's login shell to bash. This changes the user entry in /etc/passwd (don't edit that file directly unless you know what you're doing). ...
Top 50 recent answers are included