Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[farmshare-discuss] chsh?

Adam Seishas aseishas at
Sun Aug 12 23:37:56 PDT 2012

It looks like the text in the chsh wrapper script isn’t properly escaped… The wiki FAQ should have the correct syntax:

Adam Seishas
IT Service Desk
Stanford University
aseishas at

On Aug 12, 2012, at 11:10 PM, Tim Johnson <tcjohnso at> wrote:

> Hi,
> Are these instructions correct?  They do not work for me.
> --> snip <--
> corn03:~> chsh
> To change your shell, insert the following in ~/.cshrc:
> if (0prompt && -x /bin/bash) then
> setenv SHELL bash
> exec bash
> endif
> --< snip >--
> When I add those lines (tailored for zsh) to the end of my .cshrc, I get the following error:
> if: Badly formed number.
> Why the seemingly non-standard chsh implementation?  Is it so that the
> benevolent sysadmins can maintain one set of login scripts for all users? Were it the case that these instructions worked, would it be better to add
> them to the beginning or end of the ~/.cshrc?
> Thanks,
> Tim
> _______________________________________________
> farmshare-discuss mailing list
> farmshare-discuss at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the farmshare-discuss mailing list