www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/15/10:00:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49E5E865.1030005@cwilson.fastmail.fm>
Date: Wed, 15 Apr 2009 10:00:05 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [openssh] unnatended instalation + forcing service account
References: <af075b00904141055w9b6eba0t6e9f79190a3f9ad6 AT mail DOT gmail DOT com> <20090415083139 DOT GI15443 AT calimero DOT vinschen DOT de> <af075b00904150330r5d4de0fdj4c2edd05d26f32b5 AT mail DOT gmail DOT com>
In-Reply-To: <af075b00904150330r5d4de0fdj4c2edd05d26f32b5@mail.gmail.com>
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

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;

  -y | --yes )
    csih_auto_answer=yes
    opt_force=yes
    ;;

  -n | --no )
    csih_auto_answer=no
    opt_force=yes
    ;;

I then used $opt_force to determine whether -f should be passed to
csih_select_privileged_username.

--
Chuck



--
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/

- Raw text -


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