25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Using lstcsh as Your Login Shell<br />

Setting your login shell<br />

Using csh<br />

Using a standard<br />

system shell<br />

Chapter 43<br />

Using lstcsh<br />

If your system administrator allows, you can use <strong>LSF</strong> as your login shell. The<br />

/etc/shells file contains a list of all the shells you are allowed to use as your<br />

login shell.<br />

The chsh command can set your login shell to any of those shells. If the<br />

/etc/shells file does not exist, you cannot set your login shell to lstcsh.<br />

For example, user3 can run the command:<br />

% chsh user3 /usr/share/lsf/bin/lstcsh<br />

The next time user3 logs in, the login shell will be lstcsh.<br />

if you cannot set your login shell using chsh, you can use one of the standard<br />

system shells to start lstcsh when you log in.<br />

To set up lstcsh to start when you log in:<br />

1 Use chsh to set /bin/sh to be your login shell.<br />

2 Edit the .profile file in your home directory to start lstcsh, as shown<br />

below:<br />

SHELL=/usr/share/lsf/bin/lstcsh<br />

export SHELL<br />

exec $SHELL -l<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong> 555

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!