Change Linux user shell

To change shell for a user, run

Example

I will add a user, if no shell specified, it use sh as shell.

You can find what shell you are using now with command

Add a Comment

Your email address will not be published. Required fields are marked *