Error when running terminal

Discussion in 'Mac OS X Lion (10.7)' started by BadWolf13, Apr 25, 2012.

  1. BadWolf13 macrumors 6502

    Joined:
    Dec 17, 2009
    #1
    Hey guys, just got a weird error when I tried running the terminal.

    "You are not authorized to run this application."
    "The administrator has set your shell to an illegal value."

    However, I'm logged in as the administrator. What's this mean?
     
  2. Ccrew macrumors 68020

    Joined:
    Feb 28, 2011
    #2
    On a Lion machine first try rebooting (seriously)

    It's a known issue.

    If that doesn't work:

    Use Go > Go to Folder to go to "/private"
    Select "etc"
    Command-I to bring up the Information pop-up (don't close it again till the end of this procedure)
    Click the lock symbol in lower right corner to unlock permissions
    Make a note of the permission setting for "Everyone"
    Click the permission setting for "Everyone" and select "Read & Write"
    Use Go > Go to Folder to go to "/private/etc"
    I found that "shells" was empty, but there was a "shells~orig" with a good list of shells in it
    Delete "shells"
    Select "shells~orig"
    Command-C, Command-V to copy-and-paste it; this creates "shells~orig copy"
    Select "shells~orig copy
    Click again to enter rename mode and change name of "shells~orig copy" to "shells"
    Return to the Information pop-up and change the permission setting for "Everyone" back to its original value
    Close the Information pop-up
     
  3. BadWolf13 thread starter macrumors 6502

    Joined:
    Dec 17, 2009
    #3
    Sorry, forgot, I'm still running Snow Leopard. My bad.

    Restarting didn't help. Does that other trick still apply?
     

Share This Page