I have a program I want to write that I need to change the uid the program is running as. It runs as a inet.d service, and when you connect it prompts for a username and password. I then need it to log in as the user and run a program. Any suggestions?