From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 101768 invoked by alias); 16 Apr 2017 21:53:04 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 101754 invoked by uid 89); 16 Apr 2017 21:53:03 -0000 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 Received: from ishtar.tlinx.org (HELO Ishtar.sc.tlinx.org) (173.164.175.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 16 Apr 2017 21:53:02 +0000 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id v3GLr0rp008355 for ; Sun, 16 Apr 2017 14:53:02 -0700 Message-ID: <58F3E7BC.7060107@tlinx.org> Date: Mon, 17 Apr 2017 16:05:00 -0000 From: L A Walsh 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 X-SW-Source: 2017-04/txt/msg00215.txt.bz2 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