Received: from toybox.twisted.org.uk (toybox.twisted.org.uk [178.250.76.50]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 08BF8225B25 for <~alpine/users@lists.alpinelinux.org>; Fri, 17 Jan 2025 10:39:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=twisted.org.uk; s=tbx-short; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:To:Subject:MIME-Version:Date:Sender:Reply-To:Cc: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc; bh=MEUWOycXbhFz0EgIHRu2z7Or4OC+pq/MmepO6KBdXiw=; t=1737110346; x=1737974346; b=Rzxcpx7qW0SxCPSi08dviN4tYJc4tB/BeR9Ax96yficYYouQdl3EsbqhNtz64nUGqaa2lftVzEr CpIVXn2lm1113VoLrMdJQhSrAkpuA8kVqLK6A28CSEjmzc9PyLjFof52/mCR2NOOrEq8pxZHqpL2L 6Vau9z7k6/SpWi3RtYI=; Received: from mailnull by toybox.twisted.org.uk with spamc-scanned (Exim 4.96.2 (FreeBSD)) (envelope-from ) id 1tYjkf-0007S3-15 for ~alpine/users@lists.alpinelinux.org; Fri, 17 Jan 2025 10:39:04 +0000 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on toybox.twisted.org.uk X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=4.0.0 X-Spam-Score: -1.0 () Received: from balta.twisted.org.uk ([2001:470:6cc4:1::57]) by toybox.twisted.org.uk with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.96.2 (FreeBSD)) (envelope-from ) id 1tYjkf-0007Rz-0t for ~alpine/users@lists.alpinelinux.org; Fri, 17 Jan 2025 10:38:57 +0000 Message-ID: <14ebe671-5c83-4ae5-b8ba-26724c434619@twisted.org.uk> Date: Fri, 17 Jan 2025 10:38:55 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Subject: Re: Pi5 Installation v 3.21 from SD - need initial password for root (SSH) To: ~alpine/users@lists.alpinelinux.org References: Content-Language: en-GB From: Pete French In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-spamc-toybox: true X-transport-toybox: lookuphost On 15/01/2025 23:45, Gerald Pechoc wrote: > Hi, > > I tried to install Alpine Linux 3.21 from SD-Card on Pi5. The card was > prepared with Pi-Imager. > All seems to work fine, Pi is booting and because of DHCP-fix address > I could start SSH root@[ip-addr] but the hint I found very frequently > in internet search results – user root, no password – is no longer > valid for version 3.21. > sshd wont allow root logins by default. go in on the console (where empty root password should work fine) and then edit /etc/ssh/sshd_config and uncomment the line "PermitRootLogin" and set it to "yes". Restart sshd and now you should b able to loign. I havent yried this with no root passwor,d but it works for having a normal root password set (so maybe set one when you are in on the console as well, having gone to the trouble of connecting a screen and keyboard) cheers, -pete.