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: <20090415083139 DOT GI15443 AT calimero DOT vinschen DOT de> <49E5E865 DOT 1030005 AT cwilson DOT fastmail DOT fm> <20090416165210 DOT GD8722 AT calimero DOT vinschen DOT de> From: Julio Costa Date: Thu, 16 Apr 2009 18:14:38 +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 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/