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: <20090415083139 DOT GI15443 AT calimero DOT vinschen DOT de> <49E5E865 DOT 1030005 AT cwilson DOT fastmail DOT fm> From: Julio Costa Date: Wed, 15 Apr 2009 16:38:01 +0100 Message-ID: Subject: Re: [openssh] unnatended instalation + forcing service account To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/