Controlling one fan with two switches
I'm considering installing a Panasonic Inline Vent fan (FV-10NLF1) to vent two bathrooms that are currently not vented (much mildew buildup currently). Basically, I'd like the fan to turn on when the main light switch in either (or both) bathroom is turned on. I'd rather not have a switch separate from the light, as there are kids (and adults) with faulty memories who probably won't remember to turn on the fan when taking a shower. These fans advertise themselves as being great for venting two separate rooms, so its not like this idea is out of the ordinary.
What I'm currently thinking of doing is using the first bathroom to provide power (and switching) for the fan, and then replace the switch in the second bathroom with a double pole toggle switch. The first pole would control that bathroom's light, and the second pole of the switch would be wired in parallel with the switch in the first bathroom, to turn on the fan. Does that make sense? Or am I making this unnecessarily complicated? Hopefully, that configuration is NEC compliant, but I've not run across it before. thanks for all your help!