Use chsh

About this task

The chsh command can set your login shell to any of those shells. If the /etc/shells file does not exist, you cannot set your login shell to lstcsh.

Procedure

Run the command:

chsh user3 -s /usr/share/lsf/bin/lstcsh

The next time user3 logs in, the login shell will be lstcsh.