
The First Computer Password and Its First Known Theft
MIT's CTSS is credited with the first computer password, used to ration machine time. A researcher later printed the password file to get more hours.
TL;DR: The consensus first computer password belongs to the Compatible Time-Sharing System, built at MIT under Fernando Corbató and first demonstrated in 1961. Passwords were introduced so that many people sharing one expensive machine could each have private files and a fair ration of computing time. The first known password theft came on the same system: a researcher named Allan Scherr got it to print out its password file so he could use more than his allotted hours. His recollection, written in 2011, places the trouble that led to it in the spring of 1962, but the CTSS bulletin that announced password login is dated March 1964, so the date of the theft is unsettled. The fork is between passwords as a computer login mechanism, which is credited to CTSS, and passwords as shared secrets, which are thousands of years older. The first is a credit rather than a proven first; the second is a reminder that the idea was borrowed, and that its weaknesses came along with it.
Rationing a shared machine
In the early 1960s a large computer was a single, extraordinarily expensive object, and the normal way to use one was batch processing. You handed over a stack of punched cards, waited hours or days, and collected the printed results. Corbató and his colleagues at MIT built the Compatible Time-Sharing System, or CTSS, to change that. It let several users sit at terminals and work on the same machine at what felt like the same time, with the computer switching rapidly between them.
Sharing created two new problems. The first was privacy: if everyone's files lived on the same disks, something had to stop one user reading or changing another's work. The second was fairness: computing time was scarce, and each user was given a fixed allocation. The system needed a way to know who was sitting at a terminal so it could check their files and charge their time to the right account.
A user name plus a secret word that only that user knew was the simple answer. CTSS asked for both at login, and that is why it is generally credited with the first computer password. A CTSS bulletin dated March 20, 1964 announced the new login procedure with its password prompt, more than two years after the system's 1961 demonstration. Accounts of the early years differ on details, and Corbató himself told Wired for a 2012 article that there must surely have been antecedents. Nearly all of the computer historians Wired contacted, though, said the first password must have come from CTSS.
The theft
The first known password theft was not the work of an outside attacker. It was the work of a graduate student who wanted more machine time.
Allan Scherr was a PhD researcher at MIT working on simulations of time-sharing systems, which were computationally hungry. By his own later account, his allotment of something like four hours of processing time a semester was not enough. He knew that the file holding everyone's passwords was stored on the system and that users could submit requests to have files printed. So, he recalled, he submitted a request to print the password file. The printout came back, and with it the passwords of every user on the machine.
The date is unsettled. Scherr's account says the arrangement he had been using to get extra time worked until the spring of 1962, when he lost it and had to find another way. The bulletin of March 1964, however, announced both the password prompt and a new class of protected files named SECRET, and the file Scherr remembered printing was called UACCNT.SECRET. That suggests a later date than the one he remembered.
By his account, Scherr wanted the passwords so that he could get back into the operating system and restore code that let him zero out his own recorded usage. He also offered a copy to J. C. R. Licklider, the ARPA administrator for Project MAC, and sent it after being granted immunity, and he told two other struggling PhD students how to get more time. He says he finally confessed at the 25th anniversary of CTSS and Project MAC, where Professor Robert Fano assured him that his PhD would not be revoked. The episode is worth keeping in its context. CTSS was a research system among colleagues, and its password list could be read by anyone who held a printout of it. Under the March 1964 bulletin, access to SECRET files was restricted to the user authorized to update accounting information, yet by Scherr's account a punched-card request was enough to have the file printed offline. What the episode shows is not a modern-style breach but the weakness of storing secrets in readable form.
It was not the only such episode on CTSS. An often retold incident from the mid-1960s describes the password file being displayed to every user who logged in, after an editing mix-up swapped it with the daily message file. Details vary between retellings, but the lesson was the same: a list of secrets kept in the open is only as safe as every process that can touch it.
The definitional fork: login secret or shared secret
Calling CTSS the first password needs one clarification, because the word is ancient. Roman soldiers used watchwords to identify friend from foe. Polybius described how the Roman army passed the watchword for the night from unit to unit on a wooden tablet. In that sense, a password is an ancient security idea, and CTSS did not invent it.
The honest version of the claim is narrower. CTSS is credited with introducing the password as a mechanism for a computer to identify an individual user and grant access to that user's resources. That is different from a watchword in two ways. Each password belonged to one person rather than to everyone in a unit, and the thing checking it was a machine rather than a human guard.
Both distinctions matter for what came next. A personal secret checked by a machine has to be stored somewhere the machine can compare it against, and that storage became the weak point. A watchword could be handed out afresh for each night; CTSS kept its passwords in a file, and Scherr's printout showed what that meant.
From readable lists to one-way scrambles
The fix that eventually emerged was to stop storing the passwords themselves. Instead, the system would store a scrambled version produced by a function that was easy to compute in one direction and impractical to reverse. At login, the system scrambled whatever the user typed and compared the results. Someone who printed the stored file would get a list of scrambles, not passwords.
The IEEE Computer Society's biography of Roger Needham credits him with developing, for the Titan system at the University of Cambridge, the first use of a one-way function to protect a password file. Robert Morris and Ken Thompson's 1979 paper on Unix password security says that storing only encrypted passwords was first described in a book by Maurice Wilkes, published in 1968. In Multics, the ambitious successor to CTSS that Corbató also led, Tom Van Vleck says his code stored passwords one-way encrypted at the suggestion of Joe Weizenbaum. In Unix, a manual page dated January 15, 1973 describes a password-encoding routine whose result login used. The 1979 paper set out why the scrambling mattered and how attackers would try to get around it, by guessing common words and scrambling them to look for matches.
That last point is the shadow that has followed passwords ever since. Storing secrets safely did not solve the problem that people choose guessable secrets, reuse them and write them down. Corbató himself said late in his life that passwords had become something of a nightmare, a system that had grown far beyond what he imagined for a shared lab computer.
A short timeline of the computer password
| Date | Milestone | What it established |
|---|---|---|
| 1961 | CTSS demonstrated at MIT under Corbató | Time-sharing for several users at once; a May 1962 paper describes login by problem and programmer number |
| March 1964 | CTSS bulletin announces password login | A password checked against the user's problem number and name |
| Unsettled (Scherr's account points to 1962) | Scherr prints the CTSS password file | The first known password theft, motivated by a need for more machine time |
| Mid-1960s | Password file displayed to users on CTSS | Another demonstration that plain-text storage is fragile |
| 1968 | Wilkes's book describes encrypted password storage | Systems can store scrambled passwords rather than the secrets themselves |
| By 1973 | Unix login uses encoded passwords | The technique is in use on an influential operating system |
| 1979 | Morris and Thompson publish on Unix password security | Guessing attacks and weak password choice are documented on a working system |
The table stops where single secrets began to need help from second factors, which is a separate chapter.
Origin and original sin
CTSS is credited with giving computing the password, and it also gave it the earliest documented password theft. The two events are best read together. The password was a sensible, lightweight answer to a real problem of shared resources, and it was introduced among trusted colleagues on a research machine. The theft showed that even in that setting the secret was only as strong as its storage, and that the people using the system had their own reasons to bend the rules.
Scrambled storage answered a weakness that had shown itself on CTSS. Guessable passwords, which Morris and Thompson worked through on Unix, were a separate problem. The password came with a flaw, and its users found it.