[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Security-Questions



Ulrich Wiederhold <U.Wiederhold@t-online.de> 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
-- 
five syllables, then
seven, then five syllables
blah blah fucking blah


--
-----------------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie bitte eine
E-Mail an debian-user-de-request@lehmanns.de die im Subject
"unsubscribe <deine_email_adresse>" enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@Lehmanns.de
-----------------------------------------------------------

701 eingetragene Mitglieder in dieser Liste.


Reply to: