X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=2.6 required=5.0 	tests=BAYES_50,SARE_RAND_1,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Subject: "ssh-host-config" now involves "cygwin-service-installation-helper.sh"
X-KeepSent: 1BDB2765:DCEF7A58-C12575EB:0048D55B;  type=4; name=$KeepSent
To: cygwin@cygwin.com
Message-ID: <OF1BDB2765.DCEF7A58-ONC12575EB.0048D55B-C12575EB.004AF2FB@de.ibm.com>
From: Christoph Herdeg <christoph.herdeg@de.ibm.com>
Date: Mon, 6 Jul 2009 15:38:45 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: quoted-printable
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


Hello,

we're deploying an unattended installation of Cygwin to some of our
testmachines. On goal is to have SSH access to those machines, so we put a
customizing script to "/etc\profile.d" which then runs at 1st start
involving the command "ssh-host-config -y -c "tty ntsec" -w
"$RANDOM_PASS"".

Every summer or so, we're used to update our package - again this year. But
all at once on systems with Server 2003, Vista or Server 2008
"ssh-host-config" now stops and requests the name of a privileged user
instead of as before simply creating a privileged user "sshd_server" with
the given password. After doing some checks we found that latterly
"cygwin-service-installation-helper.sh" is involved in the process. Why?

My personal opinion: If I give "ssh-host-config" the parameter "-y", the
process shouldn't be like:

*** Info: No privileged account could be found.
*** Info: This script plans to use 'cyg_server'.
*** Info: 'cyg_server' will only be used by registered services.
*** Query: Do you want to use a different name? (yes/no) yes

but like:

*** Info: No privileged account could be found.
*** Info: This script plans to use 'cyg_server'.
*** Info: 'cyg_server' will only be used by registered services.
*** Query: Do you want to use 'cyg_server'? (yes/no) yes

If a given user needs to interact with "ssh-host-config", he won't use
"-y". But he doesn't, above all "-y" shouldn't prevent it, right?

So what would be a cool solution for this problem?
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
 Mit freundlichen Gr=FC=DFen / with=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
 kind regards=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
 Christoph Herdeg=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
 Christoph Herdeg                Contact                                   =
   IBM Deutschland Entwicklung
 Windows Infrastructure Support  Information                               =
   GmbH
 Information Management                                                    =
   Vorsitzender des Aufsichtsrats:
 Development                                                               =
   Martin Jetter
 IBM Software Group                                                        =
   Gesch=E4ftsf=FChrung: Erich Baier
                                                                           =
   Sitz der Gesellschaft:
                                                                           =
   B=F6blingen
                                                                           =
   Registergericht: Amtsgericht
                                                                           =
   Stuttgart,
                                                                           =
   HRB 243294
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                                 mail:       christoph.herdeg@de.ibm.com
                                 fon:        49-7031-16-1039 (tie line=20
                                 fax:        *120-1039)=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20
                                 address:    49-7031-16-4891=20=20=20=20=20=
=20=20=20=20=20=20
                                             Sch=F6naicher Str. 220=20=20=
=20=20
                                             71032-03 B=F6blingen=20=20=20=
=20=20=20
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
      visit IBM Deutschland=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20
        Entwicklung GmbH=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

