While it is possible (assuming the site you are trying to log into doesn't offer protection against it) - This is really not something you want to be doing - You would likely end up storing passwords in plaintext (Which you should NEVER do) and if your site was compromised, then people could access the second site as well.
If you manage both websites you would really need to look into using something like CoSign.