[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ProgSoc] Changing default shell on socs/progsoc
<snip>
>
> This is quoting heavily from the sys admin of the student accessable itd
> machines, francis:
>
> 1) Not itd policy to change shells, the default is csh. Imagine
> 3000 users wanting their shells changed to bash, or tcsh just
> after they register their unix accounts, *nightmare*However,
>
> 2) If the user wants to run another shell, this can be attempted:
>
> Place these lines in your .cshrc file somewhere:
>
> if ( "$shell:t" == "csh" && -x /usr/bin/tcsh ) then
> setenv SHELL /usr/bin/tcsh
> exec $SHELL
> endif
>
> Standard disclaimer: If it works, direct praise to Francis. If it doesn't,
> direct anger away from me :-)
I once had a similar setup running bash, but then when I tried logging in
to any of the lovely new sun's in 2.419 (via the graphical login), it just
didn't work; X would start running, then get me back to the login screen.
Removing the exec line from my .login solved the problem. Any ideas for a
workaround? something like if not $X then ...
Cheers,
\/|<
Victor Rajewski
vik@nospam.progsoc.uts.edu.au
http://www.progsoc.uts.edu.au/~vik
`Man will occasionally stumble over the truth, but most of the time he
will pick himself up and continue on'
- Winston Churchill, British statesman and writer (1874-1965)
--
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.
This list is archived at <http://www.progsoc.uts.edu.au/lists/progsoc/>