LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Password problem (https://www.linuxquestions.org/questions/linux-newbie-8/password-problem-826373/)

Ndjanahx 08-15-2010 01:25 PM

Password problem
 
Hi there,
Im using Mandriva Spring 2010.1 under GNOME desktop environment for one week and a bit more now. I DO need your help as I messed up with regard of my password. when I installed my system i did not put any password and it was OK. But later, I feel the need of setting up my security password and I entered a new password. Unfortunately, when I restart my system, any password that I put has never been accepted by the system. PLEASE PLEASE PLEASE help me to solve that problem may be to bypass the login screen and then to cancel whatever password I put there. Otherwise I have to re-install my system again for the 3rd time now as I'm still experiencing this new system.
Thanks indeed for your help.

Ndjanahx

gasdim 08-15-2010 01:52 PM

Try this. Press ctr-alt-F1 to switch to console mode then login with root if you have password give it otherwise you are logged as root. Then give "adduser" without quotes and make a new user. I think this will solve the problem!

basheer 08-15-2010 01:58 PM

I don't think You can bypass the root password.
U may have to re-install The OS again.

Ndjanahx 08-15-2010 03:22 PM

Thank you for your quick replies, unfortunately when i press Ctrl-Alt-F1 the message i got is: LOGIN INCORRECT. i'm still in quest of another solution PLEASE. thanks indeed

Ndjanahx

Ndjanahx 08-15-2010 03:22 PM

Thank you for your quick replies, unfortunately when i press Ctrl-Alt-F1 the message i got is: LOGIN INCORRECT. i'm still in quest of another solution PLEASE. thanks indeed

Ndjanahx

gasdim 08-15-2010 05:17 PM

There is a file in your / directory that keeps passwords and you can acceess that by a live cd but i don't remember where is. If someone remembers....

frndrfoe 08-15-2010 05:23 PM

boot single user mode?

Aquarius_Girl 08-16-2010 12:19 AM

Ndjanahx

I have not tried this but see if it helps you:
http://ebtasetiawan.com/software/log...skip-password/

cj_cheema 08-16-2010 12:48 AM

In the Linux disto. the best thing I like their boot loaders capabilities. Like if I can take the example of yours if you forgeted your root or super user password still you can recover from these boot loaders. In Linux mostly two types of boot loader use:
LILO (Linux Loader - Old bootloader)
GRUB (Grand Unified Bootloader - Latest Boot loader)
So as per your linux disto. boot loader follow the below steps for entering in single user mode(Note: in Single user mode Linux will not prompt you the root password for login) and after entering reset the password of root by passwd command or whatever command you use in mandriva for resting the password. After entering single user mode you will have full access of your OS


In lilo:
1- at the boot prompt type "linux single"
2- hit "Enter"



In grub:
1- select the boot entry
2- type "e" to edit the config file
3- select the line that starts with "kernel"
4- type "e" to edit
5- go to the end of the line and type "single".
6- hit "Enter" to leave edit mode.
7- now back at the grub splash type "b" to boot


Hope this will solves your problem

Charanjit Singh Cheema

r3sistance 08-16-2010 01:22 AM

Quote:

Originally Posted by basheer (Post 4067024)
I don't think You can bypass the root password.
U may have to re-install The OS again.

With physical access you can bypass anything... in just about any OS. If you have the knowledge to do it. Most Distributions can bypass root just with single user mode, other's need other cleaver little tricks (ie init=/bin/bash on the kernel line in debian/ubuntu).

Ndjanahx 08-16-2010 04:37 AM

In grub:
1- select the boot entry
2- type "e" to edit the config file
3- select the line that starts with "kernel"
4- type "e" to edit
5- go to the end of the line and type "single".
6- hit "Enter" to leave edit mode.
7- now back at the grub splash type "b" to boot

It seems to be helpful but as im a beginner, would u please elaborate a bit the HOW TO of this process. thanks.

To Anisha, I tried to download that file but nothing happens when I use the software. I dont know why or it's e who dont know how to use it.
Many thanks though. Still need help PLEASE

Ndjanahx

Aquarius_Girl 08-16-2010 04:52 AM

Quote:

Originally Posted by Ndjanahx (Post 4067556)
To Anisha, I tried to download that file but nothing happens when I use the software. I dont know why or it's e who dont know how to use it.

How did you try to use it ?

Code:

anisha@linux-uitj:~> unzip CD-konboot-v1.1-2in1.zip
Archive:  CD-konboot-v1.1-2in1.zip
  creating: CD-konboot-v1.1-2in1/
  inflating: CD-konboot-v1.1-2in1/CD-konboot-v1.1-2in1.iso
  inflating: CD-konboot-v1.1-2in1/KONBOOT_UPDATES2010.txt
anisha@linux-uitj:~> cd CD-konboot-v1.1-2in1/
anisha@linux-uitj:~/CD-konboot-v1.1-2in1> ls
CD-konboot-v1.1-2in1.iso  KONBOOT_UPDATES2010.txt

It is a zip file.
You download it and then unzip it.
Go to the newly created folder.
There is an ISO image, burn it to the CD/DVD. (I hope you know how to burn an image to the CD)
Insert the CD and Then restart the comp.


All times are GMT -5. The time now is 07:53 PM.