delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/16/13:15:17

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS,WEIRD_QUOTING
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20090416165210.GD8722@calimero.vinschen.de>
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> <af075b00904150838i9f2bd26o1e12ab26636defe6 AT mail DOT gmail DOT com> <af075b00904160913oee9f31cn5e406fea22d45a49 AT mail DOT gmail DOT com> <20090416165210 DOT GD8722 AT calimero DOT vinschen DOT de>
From: Julio Costa <costaju AT gmail DOT com>
Date: Thu, 16 Apr 2009 18:14:38 +0100
Message-ID: <af075b00904161014pc1e5d87rbcd0ae21f15da07b@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 Thu, Apr 16, 2009 at 17:52, Corinna Vinschen wrote:
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[ "${opt_force}" =3D "yes" ] && opt_f=
=3D-f
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[ -n "${user_account}" ] && opt_u=3D"-u=
 ""${user_account}"""
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0csih_select_privileged_username ${opt_f=
} ${opt_u}
>
> Shouldn't the last line read
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0csih_select_privileged_username ${opt_f=
} ${opt_u} sshd
>

Yes, I think it is yet another improvement.
That would make the script try to reuse the service account if it
already is installed... besides the display improvement (explicit
reference to the sshd service).
I just didn't add that because it was not being used in the original
code, and I though that there would be a design reason behind that -
like, for example, always force the privileged account selection
algorithm to run, even if there is a service installed?

That's your call. For me it's fine either way.

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

- Raw text -


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