Author Topic: can't reset admin username / password  (Read 7653 times)

kevinmccarthy

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: can't reset admin username / password
« Reply #15 on: September 08, 2011, 10:47:06 pm »
I must be the biggest idiot in the world... Christian you sent me a message and asked a question. I cannot find a reply button anywhere in my inbox and I am logged in (hence this post).

I have no idea whether Chad set up ldap or not. But, I do believe he was planning on it. Since I now have no access to the console or the panel, I am pretty much screwed. I may have to blow this VM away and start over which would really suck.

Thank you all for being patient and explaining things in a for-dummies fashion - which is what I need. :)

christian

  • Guest
Re: can't reset admin username / password
« Reply #16 on: September 08, 2011, 10:53:36 pm »
you can still revert back...

chage -E -1 chad

should remove the expiration date.

DWAM

  • Zen Warrior
  • ***
  • Posts: 113
  • Karma: +3/-0
    • View Profile
Re: can't reset admin username / password
« Reply #17 on: September 08, 2011, 10:54:46 pm »
Simple users of this forum cannot reply to PM... Lucky you, you're not that dumb! ;o)

Find a good linux admin for a 2 hours job... There are tools to recover lost passwords from a recovery boot or from within a LiveCD. You don't have to reinstall everything. Such a guy can do it.

DWAM

  • Zen Warrior
  • ***
  • Posts: 113
  • Karma: +3/-0
    • View Profile
Re: can't reset admin username / password
« Reply #18 on: September 08, 2011, 10:56:09 pm »
you can still revert back...

chage -E -1 chad

should remove the expiration date.

Unless he's still logged in, I think he won't be able to do that.

christian

  • Guest
Re: can't reset admin username / password
« Reply #19 on: September 08, 2011, 10:59:49 pm »
 ;) sure, it requires at least account with sudo right...

DWAM

  • Zen Warrior
  • ***
  • Posts: 113
  • Karma: +3/-0
    • View Profile
Re: can't reset admin username / password
« Reply #20 on: September 08, 2011, 11:03:49 pm »
You talked about VM... Maybe you have a previous snapshot of your server ?

kevinmccarthy

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: can't reset admin username / password
« Reply #21 on: September 08, 2011, 11:29:11 pm »
I wish. This is a new vm that was not snapped. We have not yet started using it in production. I don't want to start over though with the configuration if possible. Worse case we do though.

DWAM

  • Zen Warrior
  • ***
  • Posts: 113
  • Karma: +3/-0
    • View Profile
Re: can't reset admin username / password
« Reply #22 on: September 08, 2011, 11:34:57 pm »
If you don't have Zentyal in production yet, reinstall from iso is pretty simple. Then, if you have a clear definition of your needs, many guys could do the config for you, even remotely...

Where are you from ?

kevinmccarthy

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: can't reset admin username / password
« Reply #23 on: September 08, 2011, 11:40:17 pm »
Northwest USA

DWAM

  • Zen Warrior
  • ***
  • Posts: 113
  • Karma: +3/-0
    • View Profile
Re: can't reset admin username / password
« Reply #24 on: September 08, 2011, 11:47:51 pm »
Another idea... As you use VM, you can also download a pre-built VM image.

Check:
http://trac.zentyal.org/wiki/Download/VMImages

And you've got a fresh install ready to go

kevinmccarthy

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: can't reset admin username / password
« Reply #25 on: September 09, 2011, 01:06:26 am »
That's cool to have the VM.

Is it possible to grab a user settings file(s) from the current VM (the troubled one) and just move it over to the new VM so we wouldn't have to spend the time reconfiguring all the accounts, etc?

kevinmccarthy

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: can't reset admin username / password
« Reply #26 on: September 09, 2011, 05:49:58 pm »
Well, I hired a linux guy at $50 p/hr and after an hour he was unsuccessful recovering the password. He said the issue is not knowing Zentyal. I did not have him waste any more of my time.

There must be a way to recover access to my installation? Any more help available?

DWAM

  • Zen Warrior
  • ***
  • Posts: 113
  • Karma: +3/-0
    • View Profile
Re: can't reset admin username / password
« Reply #27 on: September 09, 2011, 06:17:36 pm »
$50 p/hr for a linux guy ? for a recovery mission ? You're not even half way !

You're not hiring someone for time, but for the warranty of success in a mission. If the guy does not ask for $500 at least, he's not serious and does not take you seriously either... and this one will understand he's working on an Ubuntu server despite the Zentyal stamping and will do the thing in 15 minutes.

My $0.02...

christian

  • Guest
Re: can't reset admin username / password
« Reply #28 on: September 09, 2011, 06:18:51 pm »
Kevin,

As I'm a bit lost with current status, could you clarify some points:
- can you access system console or not?
- in case you can, did you check if Chad's account exists in both /etc/passwd ans /etc/shadow  I'm pretty sure your Linux guru checked if he got access but it's worth to ask.
- if account exists in LDAP:
   PAM may prevent to change password from Linux CLI
   password can still be changed using LDAP command from another machine.

In order to check this, you can search for uid=chad using ldap command line
ldapsearch -x -h your.ldap.server -b "dc=host,dc=domain,dc=com" uid=chad

kevinmccarthy

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: can't reset admin username / password
« Reply #29 on: September 10, 2011, 01:07:00 am »
I don't know the name of the ldap server, if there is one. So that command line keeps telling me it can't contact the LDAP server.

Correction on the $50 guy, he is a PHP coder and knows his way around Linux. Not necessarily the other way around.