What is the correct OSX way of changing a users default shell? When I googled for it I found several references to an application called NetInfo Manager but I couldn't find it on my system. There were also references to a command line version called niutil which I didn't find either.
feedback
|
migrated from serverfault.com Jan 18 at 9:00
This question came from our site for system administrators and desktop support professionals.
|
for <=10.4 - netinfo manager, /users/whoever/shell for 10.5=> - SysPrefs, accounts, control-click on user, select advanced options, edit login shell field. | |||||
feedback
|
where shell is the one you want for that user.
for more examples. | |||||
feedback
|
|
NetInfo has been replaced by Directory Services (dscl) and it can be noted the default shell for Mac OS X since 10.3 has been bash. Prior to that it was tcsh. If you need to do this from the command line (eg. for pushing via ARD or remotely via SSH) you can run:
If you're not sure of the current shell you can run:
If the user is not a local user the path will simply change and if necessary you would change The info is stored in .plists (xml) in | |||
|
feedback
|
