1

I get a new Mac but the terminal doesn't work. Is there anyone met this situation before? When I open terminal, it shows below error:

Last login: Mon Sep 23 14:12:13 on ttys000
login: /bin/false: No such file or directory

[Process completed]
  [Restored Sep 23, 2019 at 2:16:08 PM]
Last login: Mon Sep 23 14:16:04 on console
login: /bin/false: No such file or directory
  • echo "$SHELL" outputs bin/bash in mine. A mod at FreeBSD says "Boot to single user mode and fix root's shell". So I guess that's where the problem is. – ankii Sep 23 at 21:44
  • 1
    Thanks, it works. – reactnative Sep 23 at 21:49
2

I fixed issue by selecting the bash I want to use:

System Preferences -> Users & Groups -> Advanced

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .