Can't login anymore

All Gurus once were Newbies
Forum rules

Can't login anymore

Postby donde on Sun Sep 02, 2012 7:55 pm

Been using latest Mint Debian for months. No problem. All of a sudden, I can't login at username. I know my username and password are correct, but today it won't work. I think I might have created a root password using passwd the other day, but not sure. I tried the alternate boot and login, but same problem. I tried going in as root, but same trouble.I have the liveCD. What should try next. I don't want to loose and data, like bookmarks and Thunderbird mail. Please help
I'm typing this on a laptop with Mint Debian, not the box in trouble.
Level 1
Level 1
Posts: 25
Joined: Sat Jul 05, 2008 9:24 pm
Location: Near Los Angeles, CA USA

Linux Mint is funded by ads and donations.

Re: Can't login anymore

Postby CtrlAltDel on Mon Sep 03, 2012 6:20 am

I would recommend downloading the Rescatux program and burning it's .iso file to a disc, booting with it, and changing your password in this manner.

[Watch video to have an idea of how to change password with Rescatux]
Intel i7-4790 Processor
Nvidia GeForce GT 720
8 GB Memory - 1 TB HD
Mint 17.3 Cinnamon 64bit
Level 4
Level 4
Posts: 354
Joined: Sun Jun 27, 2010 7:01 pm
Location: Birmingham, AL., USA

Re: Can't login anymore

Postby Oscar799 on Mon Sep 03, 2012 11:28 am

Moved here by moderator
"Don't fix it if it ain't broken,don't break it if you can't fix it" Husse
Registered Linux User #511789
User avatar
Level 19
Level 19
Posts: 9302
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: Can't login anymore

Postby widget on Tue Sep 04, 2012 6:14 pm

I don't like using 3rd party applications to do things you can do with native tools. This is, of coarse, up to the user.

With the live CD you could chroot in and using "passwd" reset your password.

The point about "maybe setting a root password" worries me.

You really should know if you did that.

You would have had to run, as root;
Code: Select all
passwd root

This would have then asked for the new password (twice) and set it.

This should not in any way have effected your ability to log in as <user name>.

You really do need to reset the "user" password though, as root;
Code: Select all
passwd <user name>

which will do the same as discribed above but for your user name.

I really wish they would drop the Ubuntu security model sudo policy and use the Debian dual pass word at installation. The current sudo policy, I think, will cause this type of problem occasionally as it is a perversion of basic Linux (Unix really) file permissions system for a multi user system which, of coarse, Linux is whether you are the only user or not.

That is really my only real problem with LMDE. Other wise I think it is a great distro that does a great job of providing a stable OS based on Debian Testing. Basically what Ubuntu was meant to be.
Dell XPS 420 Core2 Quad Q 6600, audigy5.1, Radeon HD 6450 - currently 4 320Gb HDD, Debian Squeeze for secure use, Debian testing for daily use, Debian Sid for fun.
Level 3
Level 3
Posts: 167
Joined: Thu May 14, 2009 2:49 am
Location: S.E. Montana

Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 2 guests