Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I suspect there is something awry with my /usr/bin/login (Mac OS X) because terminal hangs when I open it. After moving the login binary, terminal works except if I have to sudo--then same as before. I do not know where my original install CD is, and if I could manage to find it, recompiling the login binary would be much easier anyway. It is NOT in coreutils, so where is it?

share|improve this question

migrated from Feb 13 '12 at 2:13

This question came from our site for professional and enthusiast programmers.

closed as not a real question by Ƭᴇcʜιᴇ007, random Feb 13 '12 at 14:18

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

I doubt strongly that the cause is what you think it is. – Joe Feb 13 '12 at 1:07
This really doesn't seem like a StackOverflow question either... maybe more so SuperUser? – Kitsune Feb 13 '12 at 1:10
How are you calling login(1)? Are you running it with euid == root? (Or are you expecting to start a new session as your current user account?) – sarnold Feb 13 '12 at 1:17
I am the same admin-type user I have always been. I am the only user of the computer. This has happened once before (over a year ago) and the problem was fixed with a new login function. I forget where I got the code. – Alex Eftimiades Feb 13 '12 at 1:27
The problem started with trying to add a daemon with launchtcl command. The file appearently did not exist, and the next time I opened the terminal, the problem started. – Alex Eftimiades Feb 13 '12 at 1:28
up vote 0 down vote accepted

This is where you can download the source:

share|improve this answer

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