delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/18/07:35:38

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <47DFB694.6020606@cwilson.fastmail.fm>
Date: Tue, 18 Mar 2008 07:33:24 -0500
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: csih-0.1-1
References: <42afa7b00803180422s59037a2dq5aafb39243f8cd15 AT mail DOT gmail DOT com>
In-Reply-To: <42afa7b00803180422s59037a2dq5aafb39243f8cd15@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

Kostya Altukhov wrote:
> I get the following when I test my script with auto-answer="yes":
> 
> *** Info: The following privileged accounts were found: 'cyg_server' .
> *** Info: This script plans to use 'cyg_server'.
> *** Info: 'cyg_server' will not be able to log on interactively, but will only
> *** Info: be used by registered services.
> *** Query: Do you want to use different name? (yes/no) yes
> 
> Wouldn't it make more sense to ask the opposite question, e.g. "Is it
> OK to use the suggested name? (yes/no)", in that case auto-answer
> "yes" would accept the default?

No, because the most common "auto-answer" case is when csih-client 
scripts are invoked by setup, via a postinstall script.  In these cases, 
the auto-answer setting is "no".

Frankly, I do not believe there should be an "auto-answer=yes" option at 
all. It's just too dangerous. However, csih retained it because the 
original foo-config scripts supported "auto-answer-yes", but I do not 
recommed its use.

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