[OS X TeX] Install fail
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.
> 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:
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5266 bytes
Desc: not available
More information about the MacOSX-TeX