yeah i know this but i can't access ssh with root password

my /etc/passwd file is scrambled
i can only access WHM with root password and i need to do one of these
-chmod a file
-run a command over root account
-edit a file
i can't access ssh with root password, i can only access whm with root password..