Search code examples
macosterminalmacos-sierra

login: login: Could not determine audit condition


I got stuck with the process completion window of Mac terminal. Restarting Terminal, rebooting Mac, nothing working. Whenever I open terminal it shows the same window and I cannot write on it. How to resolve it?

enter image description here


Solution

  • I recently had my MacOS (Sierra 10.12.3) Terminal greet me with ..

       login: Could not determine audit condition
    
       [Process completed]
    

    .. after I messed with my usr/bin permissions.

    After a lot of trial and error I fixed it by deleting the FILE (not folder) called 'login', which is in /usr/bin.

    I make a point to stress that it's not a folder but a file, because prior to Sierra there was a folder called usr/bin/login, whose deletion fixed some permission issues causing Terminal failures.

    On MacOS Sierra the folder has been removed, but deleting the 'login' file (or moved it someplace else) solved my problem, and my machine works fine.

    Good luck!