kde and gnome passwords do not work. Am shut out of linux
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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'.
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
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
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 ...
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.