You don’t need to modify the /etc/passwd file to change your shell. You need to use the “chsh” command. It changes the user’s login shell. This determines the users initial login name. A normal user can only change the login shell for his own account, the super user (root), can change the login shell for any account. Here is the syntax of the chsh command:
Discusssion
Login to discuss.