Who as an interrogative pronoun has three cases: who, whom and whose. They exclusively refer to people:
Hey, who ate my poptart?
I know not for whom this letter was sent.
Whose hundred-dollar-bill is this?
If the interrogative pronoun replaces the subject of the sentence, use the nominative...