LinuxQuestions.org
Help answer threads with 0 replies.
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 07-05-2010, 03:38 PM   #1
pebmich
LQ Newbie
 
Registered: Jun 2010
Posts: 14

Rep: Reputation: 0
kde and gnome passwords do not work. Am shut out of linux


I downloaded and installed hundreds of KDE and GNOME programs yesterday evening.

A password was called for and rejected because it was too short. A new password was provided but it was not written down or saved on anything. I am now locked out of linux for want of a working passwd.

There is a way to recover a lost password. Would someone please tell me what it is? I do not want to have to re-install everything again.

TNX,

ken
 
Old 07-05-2010, 07:51 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,798
Blog Entries: 13

Rep: Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948
It would probably help if you would identify which distribution you are using and take your question to the forum for your distro.

Login password requirements tend to very distro-specific.
 
Old 07-05-2010, 09:09 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,017

Rep: Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454
Quote:
I downloaded and installed hundreds of KDE and GNOME programs yesterday evening.
and next time you will not do that .

please list the " hundreds of KDE and GNOME" and HOW you installed them and where you got them .
 
Old 07-06-2010, 08:13 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,294

Rep: Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358
Depending on your distro (eg works on RH derived systems), you may be able to boot from the install media and enter

linux rescue

at the initial text prompt. This will mount the HDD without running the system and you can fix the passwd if it's a Linux one.
Note that Unix passwds use a one-way encryption, so you can't recover it, you just create a new one over the top.
 
Old 07-06-2010, 11:52 PM   #5
pebmich
LQ Newbie
 
Registered: Jun 2010
Posts: 14

Original Poster
Rep: Reputation: 0
Chris,NX but it didn't work. The system kicked "rescue" out and would not accept it. Do you have any other ideas?

ken
 
Old 07-07-2010, 12:10 AM   #6
pebmich
LQ Newbie
 
Registered: Jun 2010
Posts: 14

Original Poster
Rep: Reputation: 0
login loop --- am shut out of linux

Frankbell and John,

I run ubuntu lucid. My programs came from repositories in gnome. I used system software to download and install 600 KDE and 450+ gnome programs. At a certain point in the program a change of passwords was called for but, unfortunately, I failed to jot it down and I do not remember the schema behind it.

There is a way, I am sure, of getting into the boot up telemetry. It exists, because I found it today. If you can give me straight ubuntu line coding, maybe then we can mark this thing as 'SOLVED'.
 
Old 07-07-2010, 12:41 AM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,017

Rep: Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454
from the last post( above)
it looks like you "upgraded" and not updated
from ubuntu 9 to 10
i have never had a FULL KDE and Gnome install update that many packages at one time


if this was an upgrade from one version to the next you might be out of luck

reinstall and then reinstall your important data from your SAVED back ups

Last edited by John VV; 07-07-2010 at 12:42 AM.
 
Old 07-07-2010, 04:46 PM   #8
pebmich
LQ Newbie
 
Registered: Jun 2010
Posts: 14

Original Poster
Rep: Reputation: 0
kde gnome passwd's do not work. Am shut out of linux

I can get into GRUB. How do you bypass the installed passwds ans get to a place where you can change and set new passwords?
 
Old 07-07-2010, 04:58 PM   #9
pebmich
LQ Newbie
 
Registered: Jun 2010
Posts: 14

Original Poster
Rep: Reputation: 0
kde gnome passwds lost, new ones needed, locked out of linux

Would someone mind answering my questions in my 01:10 post today? I can get into command line coding if someone will tell me what to say.

OR, how about GRUB? Can you boot into the operating without worrying about passwords using GRUB?

Please let me know one way or the other about both the above questions.

TNX,

ken
 
Old 07-07-2010, 04:59 PM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
You have at least two options:

1. Boot into single-user mode. To do this, you have to edit the grub boot instructions and add the word "single" (no quotes) at the end of the kernel line. For detailed instructions, we need to know if you have grub-I or grub-II.

2. Boot from a Linux liveCD, mount your hard drive, and edit the /etc/passwd file to remove the first "x". This allows you to log in with no password required.

BUT: I have trouble seeing how installing a bunch of SW would disable your password.....??

Last edited by pixellany; 07-07-2010 at 10:06 PM. Reason: typo
 
Old 07-07-2010, 11:34 PM   #11
pebmich
LQ Newbie
 
Registered: Jun 2010
Posts: 14

Original Poster
Rep: Reputation: 0
pixellany

At some point in GENing the system, I was told to provide a passwd before continuing on. I tried using my usual passwd's but the system rejected them for one reason or another.

The SW I downloaded and installed did not change my passwd ...
 
Old 07-08-2010, 06:48 AM   #12
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
You did not respond to my 2 suggested solutions.....

What is "GENing the system"?

How many passwords did you have? (There can only be one for each user name.)
 
Old 07-08-2010, 10:38 AM   #13
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Rep: Reputation: 50
Pick Ubuntu <whatever> (Recovery mode) from the GRUB prompt. Pick "root" from the menu. Type
Code:
passwd yourusername
. Enter your new password.
 
Old 07-08-2010, 02:49 PM   #14
Ajay Singh Tilawat
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Rep: Reputation: 1
Booting Single-User Mode

If you are using GRUB, use the following steps to boot into single-user mode:

If you have a GRUB password configured, type p and enter the password.

Select Linux with the version of the kernel that you wish to boot and type e for edit. You will be presented with a list of items in the configuration file for the title you just selected.

Select the line that starts with kernel and type e to edit the line.

Go to the end of the line and type single as a separate word (press the [Spacebar] and then type single). Press [Enter] to exit edit mode.

Back at the GRUB screen, type b to boot into single user mode.

To Change the root password
sh-3.2# passwd
Changing password for user root.
New UNIX password: password
Retype New UNIX password: password
passwd: all authentication tokens updated successfully.
sh-3.2# exit
 
Old 07-08-2010, 02:59 PM   #15
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Rep: Reputation: 50
Quote:
Originally Posted by Ajay Singh Tilawat View Post
Booting Single-User Mode

If you are using GRUB, use the following steps to boot into single-user mode:

If you have a GRUB password configured, type p and enter the password.

Select Linux with the version of the kernel that you wish to boot and type e for edit. You will be presented with a list of items in the configuration file for the title you just selected.

Select the line that starts with kernel and type e to edit the line.

Go to the end of the line and type single as a separate word (press the [Spacebar] and then type single). Press [Enter] to exit edit mode.

Back at the GRUB screen, type b to boot into single user mode.

To Change the root password
sh-3.2# passwd
Changing password for user root.
New UNIX password: password
Retype New UNIX password: password
passwd: all authentication tokens updated successfully.
sh-3.2# exit
The OP has already told us he is using Ubuntu.
 
  


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
KDE apps crash on Gnome, Gnome apps work on my KDE - Gnome/KDE integration Happy Gimper Linux - Software 0 03-18-2008 09:28 AM
GNOME does not work need to boot into KDE vucko SUSE / openSUSE 3 03-26-2007 10:09 PM
Can shut down through KDE but not Gnome(?) Misfit138 Linux - Newbie 4 11-01-2006 10:26 AM
Installed Mandrake Linux 9.1... Gnome seems to work, but KDE refuses to load. swamiji Mandriva 4 11-28-2003 10:54 PM
Gnome and KDE .. How they work together? mikeshn Linux - General 3 09-16-2002 11:10 AM


All times are GMT -5. The time now is 03:39 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