LOST password

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

LOST password

Postby nigelc » Oct 12th, '20, 06:59

Hello,
I accidentally lost the root password . Some of other users. I can't change the passwords as I don; know what they were are.


cheers.
nigelc
 
Posts: 203
Joined: Aug 28th, '11, 09:35

Re: LOST password

Postby isadora » Oct 12th, '20, 09:39

..........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: 2615
Joined: Mar 25th, '11, 16:03
Location: Amsterdam, the Netherlands

Re: LOST password

Postby jibz » Oct 13th, '20, 09:00

Only a page in a link in the thread mention it, so I add here a hint :
Root partition should not be read only.
On the line where init=/bin/bash is, check if 'ro' (read-only) is not present, or remove it.
After, it is possible to check if still read-only with the command :
mount -l | grep " / "
If it mention read only, remount with :
mount -o remount,rw /
Then, it will be possible to change root password.
jibz
 
Posts: 26
Joined: Jan 29th, '17, 13:58


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest