Author Topic: (solved) ZenMini won't accept password  (Read 758 times)

Offline daveysprocketbrew

  • Full Member
  • ***
  • Posts: 171
(solved) ZenMini won't accept password
« on: August 12, 2010, 06:32:31 AM »
For the past couple of days, my machine won't accept my password.  The system starts, since I have autologon enabled, but I can't get into Synaptic or even switch to root.  It says "invalid password".  I know I am typing it correctly and I don't have num lock or caps lock on.  Any ideas?
« Last Edit: August 16, 2010, 07:59:11 PM by daveysprocketbrew »

Offline pags

  • Hero Member
  • *****
  • Posts: 2517
  • Keep it clean.
Re: ZenMini won't accept password
« Reply #1 on: August 12, 2010, 01:38:10 PM »
Can you log out, and log back in, directly into root?

Offline daveysprocketbrew

  • Full Member
  • ***
  • Posts: 171
Re: ZenMini won't accept password
« Reply #2 on: August 12, 2010, 02:33:32 PM »
I'm afraid to.  What if I can't get back in?  I've tried SU in terminal bit it says invalid password also.

Offline retired

  • Sr. Member
  • ****
  • Posts: 270
Re: ZenMini won't accept password
« Reply #3 on: August 12, 2010, 06:48:42 PM »
This is a tricky issue as it raises the possibility of someone trying to defeat the purpose of the root password, not that you're trying to do that, but you never know.  If you can't get in, you just may have to reinstall. A minor annoyance if you have a home partition.

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12799
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: ZenMini won't accept password
« Reply #4 on: August 12, 2010, 06:57:17 PM »
Hi daveysprocketbrew

My first idea is - try the same password with Caps Lock on...

If that wont work then the other thing You can do:

In grub just before system boots You choose the kernel version to boot into. I think F2 or F3 allows You to modify the Default boot values. Add 1 at the end of the line. Just number 1. Nothing else. Press enter. You will be booted to the single user mode. From here type in

passwd root [ENTER]

Type in new password [ENTER]

Repeat new password [ENTER]

You should see info about successful change of the root's password.

Now type in

passwd yourusername* [ENTER]

New password [ENTER]

Repeat New password [ENTER]

Again password change should be successful but this time for the user.

Now type in reboot [ENTER]

This will reboot You. This time boot up without adding extra options in the grub entry.

You should be able to log in with new passwords to any of the accounts.

Its an old trick from an old book. Use it wisely and it will help You solve Your problem.

Andy

* Yourusername should be replaced with Your actual login.
« Last Edit: August 12, 2010, 07:05:58 PM by AndrzejL »

Offline daveysprocketbrew

  • Full Member
  • ***
  • Posts: 171
Re: ZenMini won't accept password
« Reply #5 on: August 13, 2010, 05:49:05 AM »
Thanks Andy.  I will try that and post back.  It's a good thing you know old tricks from old books!  Any idea what might have happened?

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12799
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: ZenMini won't accept password
« Reply #6 on: August 13, 2010, 06:04:39 AM »
Corruption of the /etc/passwd or /etc/shadow file maybe...
Maybe You left somebody unintended and he changed Your passwords using the old school trick...
Or maybe somebody PWNED Your machine... Doubt that but its a maybe...

I don't know dude.

Try to fix it and let us know.

Andy
« Last Edit: August 13, 2010, 06:06:13 AM by AndrzejL »

Offline pags

  • Hero Member
  • *****
  • Posts: 2517
  • Keep it clean.
Re: ZenMini won't accept password
« Reply #7 on: August 13, 2010, 08:02:28 AM »
I'm afraid to.  What if I can't get back in?  I've tried SU in terminal bit it says invalid password also.

With autologin enabled, you would just need to reboot to get back in...

Hi daveysprocketbrew

My first idea is - try the same password with Caps Lock on...

If that wont work then the other thing You can do:

In grub just before system boots You choose the kernel version to boot into. I think F2 or F3 allows You to modify the Default boot values. Add 1 at the end of the line. Just number 1. Nothing else. Press enter. You will be booted to the single user mode. From here type in

passwd root [ENTER]

Type in new password [ENTER]

Repeat new password [ENTER]

You should see info about successful change of the root's password.

Now type in

passwd yourusername* [ENTER]

New password [ENTER]

Repeat New password [ENTER]

Again password change should be successful but this time for the user.

Now type in reboot [ENTER]

This will reboot You. This time boot up without adding extra options in the grub entry.

You should be able to log in with new passwords to any of the accounts.

Its an old trick from an old book. Use it wisely and it will help You solve Your problem.

Andy

* Yourusername should be replaced with Your actual login.

Andy's got a good suggestion, here...but you may want to hold off on changing the user's password (as the autologin is using your current one successfully), until you're comfortable you can su into root (you can do this all off-line, if your concerned about potential compromise).

Offline daveysprocketbrew

  • Full Member
  • ***
  • Posts: 171
(solved)Re: ZenMini won't accept password
« Reply #8 on: August 16, 2010, 07:57:40 PM »
well, I finally got back to this and after trying everything, Andy's suggestion worked like a charm.  I'm back in business.  thanks, Andy!!

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12799
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: (solved) ZenMini won't accept password
« Reply #9 on: August 17, 2010, 03:08:04 AM »
Glad You're sorted Dude.

Andy