Tuesday, October 11, 2011

Changing User Login Shell On Linux


There are many kinds of shells available.I prefer bash shell which is default on Debian Systems.
To see available shells,do:
cat /etc/shells
To change the shell for a user,we have to edit /etc/passwd file and replace the line /bin/shellname to  your preferred shell.
For example, replace /bin/sh to /bin/bash for user to which it is being done.

0 comments:

Post a Comment