Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

BadWolf13

macrumors 6502
Original poster
Dec 17, 2009
271
0
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?
 
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
 
Sorry, forgot, I'm still running Snow Leopard. My bad.

Restarting didn't help. Does that other trick still apply?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.