I cannot change the root password using another user whilst entering the correct root password
Joshuas-MacBook-Air:~ joshua$ su root passwd
Password:
/usr/bin/passwd: /usr/bin/passwd: cannot execute binary file
Joshuas-MacBook-Air:~ joshua$ su
Password:
sh-3.2# su root passwd
/usr/bin/passwd: /usr/bin/passwd: cannot execute binary file
sh-3.2# /usr/bin/passwd
Changing password for root.
New password:
Retype new password:
Please help me with this!
Earlier today I used plutil to convert the root.plist file to xml format so I could view the sha512 hash (I just started reading about it today) but I didn't back up the root.plist file - so then it caused this problem, even after I converted the file back to binary format, the terminal wouldn't have it, and gives this error even AFTER FORMATTING the macbook, please help me with this? I used to just be able to change the root password as a normal user giving the current root password, I can change the root password using the disk utility, but I don't want to do this, please help me correct this!
Apple support didn't do anything, I just got directed to speak to someone else in a shop.
Josh (I'm using some form of mountain lion - but will install mavericks now)
MacBook Air, OS X Mountain Lion (10.8.4)