Greetings, I'm not sure if ports@ is the right list for these questions, but I think it is a good place to start.
I have a PPTP VPN client that I'm trying to clean up for release. Part of my TODO list before release have to do with user-id to use and syslog. Currently the client switches to _ppp user after it is done with root privilege and chroot(2)-s to /var/empty. Is this acceptable? Is there another user-id that is preferred? Also, ATM every log message is going to stderr/stdout. I want to send certain messages to syslog, but I'm not sure which facility is appropriate to use: LOG_DAEMON or one of the LOG_LOCAL[0-7] ones? All comments and suggestions are appreciated, --patrick