The general procedure for rooting a Samsung Vibrant (Galaxy S) on t-mobile has been posted by others (basically restating justadude's xda forum post). However, those posts are missing some details, especially if you've never rooted an Android before; I've added explanatory notes below.
[update] A new XDA thread makes it even easier.