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 stanford.edu
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:

https://www.stanford.edu/group/farmshare/cgi-bin/wiki/index.php/FAQ#How_do_I_change_my_shell_on_a_cardinal_or_a_corn

—
Adam Seishas
IT Service Desk
Stanford University
aseishas at stanford.edu



On Aug 12, 2012, at 11:10 PM, Tim Johnson <tcjohnso at stanford.edu> 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 lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/farmshare-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/farmshare-discuss/attachments/20120812/4ac48c12/attachment.html>


More information about the farmshare-discuss mailing list