The answer depends on the type of computer system in which you are referring and too numerous to cover here given the vague nature of your question.
Operating system login? Windows, OS X, Linux, Unix? ... Local or remote?
Web based login?
Google: computer authentication methods
Authentication