Lighting up an LED after entering a "password"

The serial input basics thread will show how to read a string of characters, from the serial monitor, into a character array that you can then operate on.