1.

What Is The Default Login Shell And How To Change Default Login Shell For A Specific User?

Answer»

In LINUX like Operating system “/bin/bash” is the default login shell which is assigned while user creation. We can change default shell using the “chsh” COMMAND.

Example is shown below:

# chsh &LT;username&GT; -s <new_default_shell>

# chsh linuxtechi -s /bin/sh

In Linux like Operating system “/bin/bash” is the default login shell which is assigned while user creation. We can change default shell using the “chsh” command.

Example is shown below:

# chsh <username> -s <new_default_shell>

# chsh linuxtechi -s /bin/sh



Discussion

No Comment Found