X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: 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 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 User-Agent: Thunderbird MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: How to create root account to own /var/empty for ssh? References: <58F24188 DOT 3060503 AT tlinx DOT org> <93276a4b-b80f-b39d-ea16-4975a080c9a3 AT gmail DOT com> <58F2918D DOT 2020703 AT tlinx DOT org> <66c6d82f-5d0c-3b75-ce0c-f2b7f4212bb3 AT gmail DOT 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