[OS X TeX] Install fail

Ettore Aldrovandi ealdrov at math.fsu.edu
Thu Sep 3 21:41:53 EDT 2015


Replying to myself here. I’m not sure the second method below works. The read part works, but I tested the change one and it balks at me about the directory service path. It requires the flag -p too, as in: dscl -p, to prompt for the user’s password.

On the other hand, the first method is much easier. Run:

	chsh -s /bin/bash

and it will prompt for the password and then change the shell without entering the editor. 

—Ettore

	
> On Sep 3, 2015, at 19:32, Ettore Aldrovandi <ealdrov at math.fsu.edu> wrote:
> 
> One more thing…
> 
> John, if (big if) you want to change your default (=login) shell to bash, then there are two ways. The  first is:
> 
> 	chsh
> 
> this will asks for your password and then drop you into an editor where you will change the line /bin/tcsh to /bin/bash.  
> 
> Note, however, that by default the editor is VI. 
> 
> The second way is to use directory services. Still in the Terminal, run:
> 
> 	dscl . -read /Users/<yourusername> UserShell
> 
> this should answer:
> 
> UserShell: /bin/tcsh
> 
> Then run:
> 	
> 	dscl . -change /Users/<yourusername> UserShell /bin/tcsh /bin/bash
> 
> Of course you will have to fix the /etc/profile file as well, if that was edited. If everything is fine, just disregard.
> 
> —Ettore
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5266 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20150903/51031ef6/attachment.p7s>


More information about the MacOSX-TeX mailing list