Hi all, I am trying to setup a daemon that I wrote so that it runs under its own userid (with restricted privileges). I also want to create a user group that has permission to start and stop the daemon.
I tried using 'chmod 6550' to set the uid and gid bits. This results in the effective user id and group id being set appropriately. However the real user id and group id is still the same as that of the user that started the daemon. Consequently only that user can send a SIGTERM signal to the process. I know that this must be something that has been done before and that there is a right way and a wrong way to do it. I am most likely doing it the wrong way. Any pointers in the right direction would be appreciated. -- Peter Long _______________________________________________ Dev mailing list [EMAIL PROTECTED] http://www.trilug.org/mailman/listinfo/dev