www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <49E5E865.1030005@cwilson.fastmail.fm> |
References: | <af075b00904141055w9b6eba0t6e9f79190a3f9ad6 AT mail DOT gmail DOT com> <20090415083139 DOT GI15443 AT calimero DOT vinschen DOT de> <af075b00904150330r5d4de0fdj4c2edd05d26f32b5 AT mail DOT gmail DOT com> <49E5E865 DOT 1030005 AT cwilson DOT fastmail DOT fm> |
From: | Julio Costa <costaju AT gmail DOT com> |
Date: | Wed, 15 Apr 2009 16:38:01 +0100 |
Message-ID: | <af075b00904150838i9f2bd26o1e12ab26636defe6@mail.gmail.com> |
Subject: | Re: [openssh] unnatended instalation + forcing service account |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On Wed, Apr 15, 2009 at 15:00, Charles Wilson wrote: > Julio Costa wrote: >> Came to think of it, there is also another possibility (and a simpler >> one), and that is to code the --yes option on the ssh-host-config to >> use the (new) -f option to the csih, avoiding coding the extra >> parameter (--force) just for this behavior. After all, this behavior >> should be required for --yes and possibly is not very useful if >> ssh-host-config is not invoked with --yes. >> What do you think? > > That's what I did for iu-config; > > =C2=A0-y | --yes ) > =C2=A0 =C2=A0csih_auto_answer=3Dyes > =C2=A0 =C2=A0opt_force=3Dyes > =C2=A0 =C2=A0;; > > =C2=A0-n | --no ) > =C2=A0 =C2=A0csih_auto_answer=3Dno > =C2=A0 =C2=A0opt_force=3Dyes > =C2=A0 =C2=A0;; > > I then used $opt_force to determine whether -f should be passed to > csih_select_privileged_username. > Yes, you're right: with the --no option the 'force' option should also be a requirement. After all, if it is in 'auto-mode' doesn't make sense to ask for confirmations, does it? :) I'm a bit in the busy side right now, but you can count with that patch until tomorrow, at most. Have fun! ___________ Julio Costa -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |