delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/06/09:39:10

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
Message-ID: <OF1BDB2765.DCEF7A58-ONC12575EB.0048D55B-C12575EB.004AF2FB@de.ibm.com>
From: Christoph Herdeg <christoph DOT herdeg AT de DOT ibm DOT com>
Date: Mon, 6 Jul 2009 15:38:45 +0200
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 DOT herdeg AT de DOT ibm DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019