This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygserver - /usr/sbin vs /usr/bin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]