LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-15-2010, 02:25 PM   #1
Ndjanahx
LQ Newbie
 
Registered: Aug 2010
Posts: 10

Rep: Reputation: 1
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
 
Old 08-15-2010, 02:52 PM   #2
gasdim
Member
 
Registered: Jun 2010
Location: Volos GREECE
Distribution: ubuntu derivative
Posts: 157

Rep: Reputation: 28
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!
 
0 members found this post helpful.
Old 08-15-2010, 02:58 PM   #3
basheer
Member
 
Registered: Mar 2009
Location: Bangalore, India
Distribution: CentOS6.5, CentOS7, Ubuntu14.04
Posts: 182

Rep: Reputation: 29
I don't think You can bypass the root password.
U may have to re-install The OS again.
 
Old 08-15-2010, 04:22 PM   #4
Ndjanahx
LQ Newbie
 
Registered: Aug 2010
Posts: 10

Original Poster
Rep: Reputation: 1
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
 
Old 08-15-2010, 04:22 PM   #5
Ndjanahx
LQ Newbie
 
Registered: Aug 2010
Posts: 10

Original Poster
Rep: Reputation: 1
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
 
Old 08-15-2010, 06:17 PM   #6
gasdim
Member
 
Registered: Jun 2010
Location: Volos GREECE
Distribution: ubuntu derivative
Posts: 157

Rep: Reputation: 28
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....
 
Old 08-15-2010, 06:23 PM   #7
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS, Ubuntu
Posts: 379

Rep: Reputation: 38
boot single user mode?
 
Old 08-16-2010, 01:19 AM   #8
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Ndjanahx

I have not tried this but see if it helps you:
http://ebtasetiawan.com/software/log...skip-password/
 
Old 08-16-2010, 01:48 AM   #9
cj_cheema
Member
 
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 157

Rep: Reputation: 15
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
 
Old 08-16-2010, 02:22 AM   #10
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
Quote:
Originally Posted by basheer View Post
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).
 
Old 08-16-2010, 05:37 AM   #11
Ndjanahx
LQ Newbie
 
Registered: Aug 2010
Posts: 10

Original Poster
Rep: Reputation: 1
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
 
Old 08-16-2010, 05:52 AM   #12
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Quote:
Originally Posted by Ndjanahx View Post
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.

Last edited by TheIndependentAquarius; 08-16-2010 at 06:01 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Password problem hraposo Ubuntu 1 10-10-2007 01:34 PM
su password problem joaoPinto Linux - Newbie 4 08-28-2006 11:46 AM
Password problem novice7 VectorLinux 5 11-15-2005 08:58 AM
Password Problem L33t Linux - Newbie 1 10-10-2003 12:03 AM
password problem with RH 8 davez530 Linux - Newbie 1 06-12-2003 02:26 AM


All times are GMT -5. The time now is 10:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration