I wasn't looking for portability across platforms, I was looking for something to work on multiple remote hosts. Unless I rework the script into a client-server design, this still doesn't look like it'll work for me. As it stands (and for simplicity sake), I'm cating /etc/passwd over ssh, and parsing what is returned.