Someone needs someone's DNA, and then summons them with a living soul to spare etc. lol go to Naruto Wikia and it's way more specific. Just look up Edo Tensei XD
The Path they used when under Nagato's control.
But it depends actually. If they were revived with Rinnegan DNA, they would have it. If they were revived without it, they would have their normal body's abilities.