setting root password

Amin
Hi every body.
I have installed the linux but I have not LCD. So I can not access the
terminal of the my mini6410 or any user inteface to make my changes.
So it seems that I need a way to access from a remote computer. something
like ssh or etc. but each of this needs the sudoer password.
How can I change my root user's password now?