DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4BKEcE9i1434292 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 4BKEcE9i1434292 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=Bz8F8zeA X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8CBB13858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1734705493; bh=g6K3MS4II983zjRx2cLYOeJAuV0YTp3Hwknnorv7sR4=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=Bz8F8zeA7Bid+RVha1tXJHWzOSQAVSW4Jyjgw6IPyq4zxZx5Vu2fY0r8Iz/GTLu5f 1e8kZEZ3IQMgUWV53WmVwAzUOidJ4SbkGxr7tip0W9xsGfnCbjFKH7UYZXhetc6Sqz nV7ejbKwJH85qzx6HQNjTiaZY2/B9cqRc+izTklo= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 791AC3858D38 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 791AC3858D38 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1734705430; cv=none; b=leIOmm+k3LSZLlmMacx0zxgDtYvBPrInMHmYm7kvP8rMc0qGYt1Fcbsofwa1MRtVoFaCrC3zLe21H5JsBDjxVmmG0B0bAa0gTAu2jTqRtibI2ivlUFmSeumoW2Yc9GwfpNLky3zs4uTMfjwIt1cYL4IFR9P0Izr9Kuej7S0BmjY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1734705430; c=relaxed/simple; bh=bQmzSxsJgXZyaZbTNpPEiYsPTgtr3s0mvtpQpGdxWvg=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=ATm+kZMkvlncrrXz7ZD5xt+mfnA/qVjC8sNBNO35x2rL1zhg6OYf7irDAfOX8M2woujT/Z8+dogH9celEOw6XDZkyw9z8NLrtT/M2N5kXoz67BXqrvDVJDZy4G4Y3E5o8/VwIRM5B7Dp+2PRKXkRMf5h+MSu49QJuyuH+8Vn8dU= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 791AC3858D38 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734705429; x=1735310229; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bQmzSxsJgXZyaZbTNpPEiYsPTgtr3s0mvtpQpGdxWvg=; b=wUIatl/48lfvgd5EhFH3cfFWTxHwXBEVdpq7b7hyucmFmRrvGTYDdmHFlPogVvxCNt btVrbKDHsSpHEawHGW0FalZ8wtYc5VenwI8t+Ca6QElSBqx3TmK77/xFz6P9ZAb5oQTU BOxSAn9B8DR3RbYJ4Vgcg+eUCYcsobPpcYnzrQgN1dbK0VrEMsRwyUMTprfnD+jcWwl7 hmvsqzq1ZsNpjvq3554jnNDa/7xk1wbw2h+Lf/snVHRb3z0wGsleyUKJjwV0pwaNBz4h sKRbEULVXIW52lb4MB8gDfc8dr9AMWz4uyxExBCeuauYxkXUcgXR/XNq6TTCUNH/KUI1 zMsQ== X-Gm-Message-State: AOJu0Ywy6f9x6vZZdSluhhNfIzVx28HJy574Cj9S1tBftth0CuFTD/ME 0lqtE2yZR0oBnGCIvQ3Yh4kJDVRHx7D4cIdXpUXOR477SJfyCf4hDnr2+lhJ0QZ+y7QiC3VNcr8 YWGDj/qMJJ5mP7vgEOdxWsvvwBCOgTRPtyzE= X-Gm-Gg: ASbGncukd7OX2tYzc4cchjchJ1KHYvxvXisKjuoud+fHO13hKd3vw/zG2DPPesfQeWd DfU1swPKDms8QBApR8XJs9WkdNYNaLNEdOEmFaQ== X-Google-Smtp-Source: AGHT+IEvc0QqfcIAXlW7atMxxOkIAr7T3HD0Qf+Sm2BMz6JnLk7mGm32EfrTxwNdKZBj+grsWJiZUGMHwigvwdTnRHg= X-Received: by 2002:a05:6000:4023:b0:385:e5dc:e285 with SMTP id ffacd0b85a97d-38a22406d4emr3179513f8f.58.1734705428613; Fri, 20 Dec 2024 06:37:08 -0800 (PST) MIME-Version: 1.0 References: <2ebca14a-ce63-49bc-927b-bed770c91fc3 AT oskog97 DOT com> In-Reply-To: <2ebca14a-ce63-49bc-927b-bed770c91fc3@oskog97.com> Date: Fri, 20 Dec 2024 15:36:32 +0100 Message-ID: Subject: Re: Modify Cygwin sshd to support login into user SYSTEM? To: cygwin AT cygwin DOT com X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Martin Wege via Cygwin Reply-To: Martin Wege Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 4BKEcE9i1434292 On Fri, Dec 20, 2024 at 3:22 PM Oskar Skog via Cygwin wrote: > > 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. WOW I tried that for Windows sshd, but only got a fatal: ga_init, unable to resolve user system in the logs. How can I do the same for Windows sshd too? Thanks, Martin -- 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