X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=Kq76rPMZXT/Ic6or
	FR35dYkEyR57yrZ5YSahiH7xJ/y2hqDWWEHrwIsIHqqP0m+MAIATFNPJ1T8dNhXc
	c5fZHKdCyMnRd7K61Shf8LrIE0wHLkZ0x1To+eY1o1zfbK2BOQMjSKv+RTmHoOe9
	/trvmi4yk5C0t1JEXPIPHhu+3X0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=31PJ6IWh+LcENLnt96k5Hq
	sm4/M=; b=YXo5lGCKrUT7AiB2kJf4eqjrsgWVW/q/vCkubQeIMK7ESMZPWZG2B/
	gJmDaWJcl1cCu3xHSZxG9LHhQByFvX6WMVQ77kkHSANmq6j6GbN76YTJqzvLpB8Q
	vjlWMbI3fPB4Z1paL96VZb2jq/LV4EHnwLyRK60I/9GU9/Nv+t0k0=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=administrator, Hx-languages-length:969
X-HELO: mail-io0-f172.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=20161025;        h=subject:to:references:from:openpgp:autocrypt:message-id:date         :user-agent:mime-version:in-reply-to:content-language         :content-transfer-encoding;        bh=jdX2YspNZBiwDvVSUOpzl1jXCJRK+0Y05NTOiUYxwK4=;        b=qcA3sNj6WE3rprK8Yyadwo1rSqzQsfpf0NcTBNv6SafCA2ia21FNEnUeekecyUJ7dj         ME8leFFgidjm5fbMXNCixmpPhGPIciorKUoAKHHRZywnmdtnjJfGCLLLowMLpMEyRfkW         2ZH3bhrNIx5Z2JMt74QEtNY1XRxb8FW/6Oor5nnVYbwzSooi0CsKUSS9lNsLrmiMfQF6         CEh7LlQEcNJApGbvdrmTnB2cyla9U6pV2HPn48SgR1ptX5bcJ/K//l5pmHYxyUXHUJtL         4M2npiy1zM1atwfTDZ4JlKhs4JXUz+PK+0t6pwyhR4hMxg/o+OWBlCTaPmzKzYoyA9hd         0MNg==
Subject: Re: cygserver - /usr/sbin vs /usr/bin
To: cygwin@cygwin.com
References: <99a59fea-d5a6-a4ed-dca4-0772dd3fbf05@gmail.com> <20180813074957.GF3747@calimero.vinschen.de>
From: cyg Simple <cygsimple@gmail.com>
Openpgp: preference=signencrypt
Message-ID: <b208313e-333f-53c5-acd2-eafe78fced6b@gmail.com>
Date: Mon, 13 Aug 2018 08:50:05 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <20180813074957.GF3747@calimero.vinschen.de>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

On 8/13/2018 3:49 AM, Corinna Vinschen wrote:
> On Aug 10 11:28, cyg Simple wrote:
>> Looking at the files delivered by the cygwin upgrade I see
>> /usr/sbin/cygserver.exe and /usr/bin/cygserver-config.  Shouldn't
>> cygserver-config reside in /usr/sbin with cygserver.exe?
>>

You didn't answer this with your below answer.  The cygserver-config
requires administrator privilege so it would be better placed with
cygserver.exe in sbin, IMO.

>> Also in that vain shouldn't cyglsa belong in /usr/sbin?
> 
> Nope.  /usr/bin is where the DLLs are, so they can be found
> even if PATH isn't set up.
> 

But cyglsa{,64}.dll is a standalone without any other binary.  It is
only accessed by the OS for the LSA support if the registry key exists.
This means the cyglsa-config can be modified to point to the sbin
directory instead of the bin directory.  Again administrator privilege
is required so better placed in sbin, IMO.

-- 
cyg Simple

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

