The first 700 MHz eMacs shipped with OS X 10.1.4, which was, to put it politely, somewhat primitive compared to 10.2, let alone later versions. However, as far as I can recall, the passwd command was the same in 10.1 as in later versions. Unix commands are quite sensitive to case or extra spaces; make certain you're typing the command exactly as intended.
I have made sure and when some didn't work I tried others i did /passwd johnsmith -- and that didnt work, i tried without the -- that did the same thing
There's no leading "/" on the passwd command, nor should there be anything after the username. Using your example,the syntax would be just:
passwd johnsmith
Boot into single-user mode (command-S during startup)
Once the command-line prompt appears, type the following:
mount -uw /
cd /private/var/db/netinfo
mv local.nidb local.old
rm ../.AppleSetupDone
exit
If you need to recover files from your old user account, (if FileVault is off), you can probablly change your permissions. If you want to know, please post (if you're still reading this).
Actually I just renamed the admin the same thing and made a new pass and all my stuff from before is there! Kinda amazing. By the way I have a neighbor who just got an iMac and wants to put his quicken files from his windows to his mac but i think he is having compatibility problems. Any ideas? If not I will search in the iMac forums.
Sorry, I am the first time user of eMac. Nobody at my company could remember the admin password of one eMac machine. I tried to follow your instruction to reset the admin's password. When I type "rm ../.AppleSetupDone", it shows "No such file or directory". For more information about my eMac: it has multi-users setup and only user's account can be logged in.