That is correct, it will only temporarily root the phone unless you have nand unlocked. That being said, if you use unrevoked, and it only gives you S-OFF, but doesn't root your ROM (it's been known to happen), z4root can be used to finish the process.