I was trying to set the default shell the linux way on Mac OS X, but it failed horribly. No changed was made even after battling cryptic vi (urghh!) just to change the file that comes out in vi when you type sudo chsh username. I tried using the preference in terminal but then seeing that that will not use the login script, I'm afraid that it will miss out what its supposed to execute (some login scripts etc) when shelling out.
I found out this article on macosxhints. It basically states that you can either use the netinfo manager to change it or use the command
niutil -createprop . /users/shortusername shell /bin/ bash
do NOT write that blindly..
since theres a whitespace in "/bin/ bash" you will not be able to use your shell again.. ofcourse you can fiddle around with run-command as i did to remove it.. but its annoying... do this instead:
niutil -createprop . /users/shortusername shell /bin/bash
Posted by: stefan on December 9, 2003 12:13 PMErase this message and you'll never see it again. ( - Phentermine) http://www.phentermine-information.us 43.434616767718
Posted by: Phentermine on May 14, 2004 07:01 PM