in reply to getting unix users ip addresses

Miss Cleo might be able to help you, but otherwise you're outta luck.

Where'd ya get the data from? who? last? Maybe you should parse up the wtmp file yourself with a module, if that's what's needed.