🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user.french
Article #115

Re: Mot de passe root perdu

#115
From: Basile Starynkevitch
Date: Mon, 02 Nov 2026 14:00
32 lines
3937 bytes
On Mon, 2026-11-02 at 13:29 +0100, NoSpam wrote:
> Solution simple:
> 
> Dans le menu grub, edit de la ligne single puis modifier
> ro en rw et rajouter à la fin init=/bin/sh puis ctrl+x pour démarrer
> 
> La machine démarre en mode single utilisateur root. Ne reste plus
> qu'à
> utiliser la cde passwd afin de saisir un nouveau mot de passe root.

Elle peut démarrer avec une disposition clavier incorrecte (QWERTY au
lieu de AZERTY par exemple).

Auquel cas, il pourrait être utile de lancer la commande loadkeys.
https://manpages.debian.org/testing/manpages-fr/loadkeys.1.fr.html
(et la lancer avant passwd, en utilisant par exemple echo pour tester
la dissposition du clavier).

librement

-- 

Basile STARYNKEVITCH                           
<basile@starynkevitch.net>
8 rue de la Faïencerie                      
http://starynkevitch.net/Basile/  
92340 Bourg-la-Reine                        
https://github.com/bstarynk
France                               
https://github.com/RefPerSys/RefPerSys
                  https://orcid.org/0000-0003-0908-5250
Technical Details
Message-ID: <NV0JP-9pMa-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NULhL-9htC-1@gated-at.bofh.it> <NUVAt-9n5u-9@gated-at.bofh.it> <NUZb3-9p3m-3@gated-at.bofh.it> <NUZup-9paP-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Basile Starynkevitch <basile@starynkevitch.net>
Newsgroups: linux.debian.user.french
Subject: Re: Mot de passe root perdu
Date: Mon, 02 Nov 2026 15:00:01 +0100
Message-ID: <NV0JP-9pMa-3@gated-at.bofh.it>
References: <NULhL-9htC-1@gated-at.bofh.it> <NUVAt-9n5u-9@gated-at.bofh.it> <NUZb3-9p3m-3@gated-at.bofh.it> <NUZup-9paP-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-user-french-request@lists.debian.org  Mon Nov  2 13:53:22 2026
Old-Return-Path: <basile@starynkevitch.net>
X-Amavis-Spam-Status: No, score=-2.798 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001,
 RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -5.5
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.56.2-10+b1 
MIME-Version: 1.0
X-Gnd-Sasl: basile@starynkevitch.net
X-Gnd-Cause: dmFkZTFkHf5MSd+WVFv1mEN9wCAdzLkulAIswcG+YDewjyGGq/K234HGpYm+SpdlRSdV71bIlVmX1hq6jqCtnjq7TyKylDo0blUHoEMfasXmn3lE6mwULXX7157AFNw0m8YJ0eaSvjAIyh1Nmbhyi1S10YdhVb9aZhMKAUSJSN8+GpMa3eN0f/dZYnXkrMZdMHK5PsbNefTK6F0ZGcwcdSVlzV5nT+nhrc09TJ0dLlIsle3qtxo4WH2YXUUpSef0WfuRgan+DjBs0twX9+l3OCZhEMxlwv/UCowr37GiaB9PyVs4M6W1LnHuU2PhkZCo3RF2GgAlGn7WAgIWiE09aFZpfCaXf4Q/3v/ryq0sjopLCPbTbrToDTQB5hBRXiVR6Cd9EcYzwZ8G/asKSCfkyJDRMXC075YIR1A9C3hEYwiAW990bWrMJqW9UkUMqEkDqaJqJ2gYI3S+yC2UqDd/X9dH8if3O5gX971JyRkobspAXXjlmvqYF4Dj+ZG9AbflBbmf5CQwCLyvNiZCpqJC2QBdrF7k34c18srt2BCeZAJdoiQIpTS+SEPbSeLxbg533J5av1SovJIt1TjR6aEr2KU/VcF+pw8Lf3uI39UieohX5aDI7Ly03+6QjNk9nm850yq8mnDyUxTMCFI3rqH5wEqo0PgoOssQPyiUA3nyMVA/5TSusw
X-Gnd-State: clean
X-Mailing-List: <debian-user-french@lists.debian.org> archive/latest/239496
List-ID: <debian-user-french.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user-french/>
List-Archive: https://lists.debian.org/msgid-search/2282ea7853b57e2b837a129244c6436c0a962151.camel@starynkevitch.net
Approved: robomod@news.nic.it
Lines: 32
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 02 Nov 2026 14:53:07 +0100
X-Original-Message-ID: <2282ea7853b57e2b837a129244c6436c0a962151.camel@starynkevitch.net>
X-Original-References: <9a83f086-7b3d-4b31-b195-d6b98f31830b@ouvaton.org>
	 <11c9hb9$2k5fc$1@ciao.gmane.io>
	 <7d66f2c8-06f7-42ee-b02c-fb68613761e9@ouvaton.org>
	 <ab02bc0d-569e-4b12-82ba-4d94b6a84dad@tootai.net>