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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=moo42kge5KV4uiA2Myh1L+9ArrUWtaBtCNfs9IEOQZ0
	YeER6Fmt2ZYbqrPMgorNrgJdzTojvHp1OtYT1pWQrluXn4suhqXFLiqP4r+1nCMm
	ymjItVwq02agyZcdW2BVuV/8knqNO71v/Iy2B0RTPVWJhPJShza5eI8Gn1R1p/q8
	=
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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=LrARpFrF4RMstGyksNvyw6dHygE=; b=HQvypF/7sHJMVfqHA
	FD9C+WSoOLIMr6svMCyrMRGFeYVEmcvpLAjV8JkIQVUC2gTJHHr1xQUai+AZwJtM
	AZWqcOfJFJbz0FsBXBgWzDD9CT7eMt9O4ZamwzZV9nBmPkHwzWHqiFSYpxeKT+RO
	3EmXxYQC9vzCiJoxoJBtpATvPY=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=BAYES_00,GIT_PATCH_2,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*r:8.14.7, rsh, expects, Hx-languages-length:1500
X-HELO: Ishtar.sc.tlinx.org
Message-ID: <58F3E7BC.7060107@tlinx.org>
Date: Sun, 16 Apr 2017 14:53:00 -0700
From: L A Walsh <cygwin@tlinx.org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: How to create root account to own /var/empty for ssh?
References: <58F24188.3060503@tlinx.org> <93276a4b-b80f-b39d-ea16-4975a080c9a3@gmail.com> <58F2918D.2020703@tlinx.org> <66c6d82f-5d0c-3b75-ce0c-f2b7f4212bb3@gmail.com>
In-Reply-To: <66c6d82f-5d0c-3b75-ce0c-f2b7f4212bb3@gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Marco Atzeri wrote:
>
> usage: ssh-host-config [OPTION]...
> ...
>
> Hi,
> long time I am not reconfiguring the sshd server, but
> ssh-host-config should propose by default the user separation
> and propose the creation of cyg_server user for that scope.
----
    Ah... I didn't run that ... just sorta ran it and used
a certificate to log in as myself -- same as works w/rsh(localhost).
It seems to work for the currently logged in user, but I suspect
I'd need to run the above config routine to enable it for
logging in when there isn't already an active session. 

    The part that is bugging me is that the new sshd seems to
require /var/empty to be owned and only writable as root, which
the previous sshd didn't require (it just runs).

    That's why I was trying to figure out how to have /var/empty
owned by 'root' on a OS that doesn't have a UID=0(root), as it
didn't seem to accept ownership by "Administrator" as the same
thing.

    Thanks for reminding me of the config option.  I was hoping
just to use it, (for now anyway) the same as before -- where it
works if I login as the currently log'd in user (AFAIKT -- seems
to have the same drive mappings as me; if I try a different user,
it doesn't work -- but that's where I'd suspect I'd need to run
the config script. Hmmm...

    Maybe will end up doing that, but sorta would like to also
know why it thinks /var/empty must be owned by root and how it
expects me to do that.  *sigh*.

Linda


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

