I want every new user from now on to have bash as their shell by default.
I know that to change your own shell to bash, you would use the command "chsh -s /bin/bash", but how do I automatically set all future users' shell to bash by default?
Most likely you don't need this because useradd is a very low-level utility, and it's hardly ever used directly.
If you use useradd, edit the
Now every time you use
Already existing users
If you want to change the shell of already existing users you have to edit the
Here is a description of the columns
In that order separated by colons (:) like this.
For more information about that file consult the man page
As Octavian pointed out, the way to change the defaults depends on the way you're creating the user. I tried creating a new user through my Gnome Settings just now, and it seems to follow
If you're not root, you'll need to sudo that. An alternative is to sudo into the user you want to modify and just run chsh, like this:
It's best to avoid editing