[SOLVED] Reset Root Password

Here you'll find a place for solutions and hints.

Please use one of the support subforums below for questions or if you have any issues and need support.

Re: [SOLVED] Reset Root Password

Postby Weatherlawyer » May 23rd, '20, 14:13

I wish I had learned Linux when I was younger.
I will passionately hate hate Tony Blair and Bill Gates forever.

I had a stroke a few years ago and remembering passwords was one of the biggest problems I had from it. No use writing them down either as I would just f :D rget where I put them.
Weatherlawyer
 
Posts: 90
Joined: Mar 21st, '14, 00:04

Re: [SOLVED] Reset Root Password

Postby isadora » May 23rd, '20, 14:21

In my opinion a totally worthless addition to the topic, which in itself is already years old.
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2742
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: [SOLVED] Reset Root Password

Postby Weatherlawyer » May 26th, '20, 15:58

isadora wrote:In my opinion a totally worthless addition to the topic, which in itself is already years old.

How do you value worth?
Weatherlawyer
 
Posts: 90
Joined: Mar 21st, '14, 00:04

Re: [SOLVED] Reset Root Password

Postby doktor5000 » May 26th, '20, 17:16

It does not contribute anything meaningful to the topic.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: administrator password forgotten

Postby flink » Nov 15th, '22, 15:46

doktor5000 wrote:FWIW, a repair-install isn't required. At the bootloader, simply add init=/bin/sh to the kernel command line after pressing F3 and selecting Default, and at the prompt change the root password via passwd command.


What must be done if I boot with Mageia-8 EFI? I see no option for pressing F3 :?:
flink
 
Posts: 186
Joined: Mar 3rd, '12, 19:23

Re: [SOLVED] Reset Root Password

Postby sturmvogel » Nov 15th, '22, 18:33

On UEFI systems you need to mark the relevant line in grub you want to edit, and press "e". Thats quite standard for all distributions with UEFI grub2.
https://wiki.mageia.org/en/How_to_set_up_kernel_options#With_Grub_2_bootloader_2
sturmvogel
 
Posts: 678
Joined: Jul 30th, '12, 00:39

Previous

Return to The magician suggests...

Who is online

Users browsing this forum: No registered users and 1 guest

cron