First of all, your user account already has a password. To my knowledge, it doesn't work without one.
Second, you would actually have to have services exposed for people to be able to "get to" your Mac. Do you have SSH enabled? VNC/Remote Destop? Web server? If you haven't turned them on, then probably not.