On Thu, Dec 21, 2000 at 01:29:17PM +0000, Andreas Metzler wrote:
> Ulrich Wiederhold <[EMAIL PROTECTED]> wrote:
> > <Andreas> ssh stream  tcp  nowait  root /usr/sbin/sshd sshd -i
> 
> > Wof�r denn am Ende 2x sshd? Ich h�tte das jetzt einfach mit der Zeile
> > ssh stream  tcp  nowait  root /usr/sbin/sshd -i
> > gel�st!?
> 
> Hallo!
> inetd.conf(5)
> The fields of the configuration file are as follows:
> [snip]
>            server program
>            server program arguments
> [...]
> The server-program entry should contain the pathname of the program which
> is to be executed by inetd when a request is found on its socket.
> [...]
> The server program arguments should be just as arguments normally are,
> starting with argv[0], which is the name of the program.
> ^^^^^^^^^^^^^^^^^^^^
> 
> Deine Variante wurde /usr/sbin/sshd mit argv[0]="-i" aufrufen, also
> als ob du einen Link /usr/sbin/sshd --> -i machst und -i startest. Als
> xinetd-Benutzer musst du das aber natuerlich nicht wissen.
>              cu andreas

Hallo,
das ist auch gut so. Da tuts also dann der einfache Aufruf?
Was ist argv[0] ?

Gru�
Uli

--
-----------------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie bitte eine
E-Mail an [EMAIL PROTECTED] die im Subject
"unsubscribe <deine_email_adresse>" enthaelt.
Bei Problemen bitte eine Mail an: [EMAIL PROTECTED]
-----------------------------------------------------------

701 eingetragene Mitglieder in dieser Liste.

Antwort per Email an