Platform LSF Administration Guide Version 6.2

Chapter 45
Using lstcsh
Administering Platform LSF
631
Using lstcsh as Your Login Shell
If your system administrator allows, you can use LSF as your login shell. The
/etc/shells file contains a list of all the shells you are allowed to use as your login
shell.
Setting your login shell
Using csh
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.
For example,
user3 can run the command:
%
chsh user3 /usr/share/lsf/bin/lstcsh
The next time user3 logs in, the login shell will be lstcsh.
Using a standard
system shell
if you cannot set your login shell using chsh, you can use one of the standard system
shells to start
lstcsh when you log in.
To set up
lstcsh to start when you log in:
1
Use chsh to set /bin/sh to be your login shell.
2
Edit the .profile file in your home directory to start lstcsh, as shown below:
SHELL=/usr/share/lsf/bin/lstcsh
export SHELL
exec $SHELL -l