I have an older machine with FreeBSD 4.11 installed. The problem was, that I was unable to log in because I had no idea about login name or password. I booted into a single user mode(boot -s), mounted all partitions which were defined in /etc/fstab file(mount -a) and changed root password using passwd root. However, before I realized this mount -a thing in order to have access to passwd utility, I changed /etc/passwd file manually using ed editor. It looked like this:

However, as second field should be the password, I was still unable to log in using root/24680 or martin/24680 as username/password. Any ideas, why this didn't work? Or any additional questions if my explanation was unclear :OOO

However, as second field should be the password, I was still unable to log in using root/24680 or martin/24680 as username/password. Any ideas, why this didn't work? Or any additional questions if my explanation was unclear :OOO