How does one edit the /etc/hosts file? I've tried root passwd without success. I'm trying to connect to a Mandrake box but can only ping back and forth. Can I connect without editing the /etc/hosts file?

Thanks,
Wayne