in reply to RFC: A Simple Socket Server Using 'inetd'
Running anything as root that does not need to be is a bad habit to get into, even for a "quick and dirty" program like this. Especially anything that you have set up to be available from now until you go back in and remove it (even across reboots). Change:
secshsms stream tcp nowait root /usr/local/bin/sinet.pl + secshsms
to
secshsms stream tcp nowait nobody /usr/local/bin/sinet.pl + secshsms
This change runs your program as the almost completely unprivileged user "nobody". (man inetd.conf)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: RFC: A Simple Socket Server Using 'inetd'
by samizdat (Vicar) on Apr 13, 2006 at 19:50 UTC |