- switch-user/group user groupprocedure
This is a helper procedure which allows you to easily drop privileges before running the accept loop. The user and group must be either strings or UID/GID numbers which indicate the username and groupname to which you want to switch. Either is also allowed to be #f, if you don't want to switch that aspect of the process.
For this to work you'll need to install the posix-groups egg, otherwise a runtime exception is raised.