Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: RFC: A Simple Socket Server Using 'inetd'

by idsfa (Vicar)
on Apr 13, 2006 at 19:31 UTC ( #543199=note: print w/replies, xml ) Need Help??

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/ + secshsms


secshsms stream tcp nowait nobody /usr/local/bin/ + secshsms

This change runs your program as the almost completely unprivileged user "nobody". (man inetd.conf)

The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon

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
    excellent point. update in progress.

    Don Wilde
    "There's more than one level to any answer."

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://543199]
[Eily]: somehow when googling pärskäys I got a pageful of Finnish :P
[robby_dobby]: Can I go participate in an YAPC?
[Eily]: (I was trying to find a translation but google translate didn't help)
robby_dobby is not entirely serious
[LanX]: ... thank God France doesn't have an electoral college...
[Eily]: LanX, let's hope it gets better for the second turn
vrk adds oatmeal cookies to the platter on the sideboard.
[LanX]: evrybody can participate in a YAPC
choroba is still undecided what to present at YAPC
[LanX]: imagine the stock market if the choice for the second round would have been those two ...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2017-04-24 15:52 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (442 votes). Check out past polls.