DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4BKEMqcD1429081 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4BKEMqcD1429081 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=ccfEMR2Z X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 236943858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1734704570; bh=0r/jf1zn5/PEh4NuknjlKW/QIPzg47YWYg2A85czCKo=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=ccfEMR2Z8tSqy36095LT86wj7sFzN+msdc0g03S6ko1rb9LdtrnArFt79zoAcZpkt /w215su6OBTKS2p+3rbwn78j+iL/YSnqHNQDUOni5gSMuGfT+Ia4Bh2euR8rfOgFcL FTwz0eiZYO48vMXGf2dzCtMGdZ1FuTCexY9P5iOg= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 99B903858CD1 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 99B903858CD1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1734704502; cv=none; b=pDE3wbqzdDQteb705H2tjDnPmmPJKs/QMQYVRi+zWPDytVrAOAntfyjCOxurGHaXfnIhPvZS5pqf3hwXVJmClP3nyhE3cdIgEwyYo3nYr3GP0iefBzesMtAofXwB4dhnUOQXtMp15z6tjA7fQwv0VG+D1RatCtBqCVtfJiNDNHs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1734704502; c=relaxed/simple; bh=y8QTkkupkvCY+lFILx6mMUjKzi9Y9y0RxpElBl0Cu7w=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=ZAzcbfO5yp60yGw+mH+7ToZByCNDZAj0xy6RCnHKogokRK3us8MOuJ66KEEHinXAz7U0anVy+Z2PTOmfNEqRGDXq7xGJMmPyvQN7HsAGMskPRYxdHP/Hu9fQwQmwH+bywRFk7p63TtdYA6tklOOywdO1c62dso8Uidbct7g+HaE= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 99B903858CD1 Message-ID: <2ebca14a-ce63-49bc-927b-bed770c91fc3@oskog97.com> Date: Fri, 20 Dec 2024 16:21:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Modify Cygwin sshd to support login into user SYSTEM? To: cygwin AT cygwin DOT com References: Content-Language: en-US In-Reply-To: X-GND-Sasl: oskar AT oskog97 DOT com X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Oskar Skog via Cygwin Reply-To: Oskar Skog Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On 2024-12-20 14:01, Cedric Blancher via Cygwin wrote: > Good morning! > > Is it possible to modify Cygwin sshd to support logins into user SYSTEM? > > Ced No modifications needed. Run ssh-host-config and answer "no" to strictmodes. mkdir -p ~SYSTEM/.ssh ssh-keygen cp ~/.ssh/id_rsa.puv ~SYSTEM/.ssh/authorized_keys You can now log in as SYSTEM and correct the permissions of the SYSTEM's home directory, .ssh, and the files in .ssh. Once the permissions are sane you can run ssh-host-config again. /Oskar -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple