Change UID of process/Privileged ports
I have a user on my server that would like to run an IRCD on port 23 (port 23 is his country's default IRCing port) for his IP. The only problem is, only privileged users can run daemons on ports lower than 1024. The only way I can think of to solve this problem would be to run the IRCD as root but that is extremely unsafe. Is there a way I could start the IRCD as root and switch it to another users UID while it's running?
If you have any other suggestions please let me know. Thanks.