vtiger.com - Home of vtiger CRM
Home Products Downloads Support Buy Support Partners Company  Community Forums Blogs   Extensions  
Call Us : +1 408-733-3229
 
Log in

Register | Forgot password ?
<<September 2010>>
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30

 Search this forum

SourceForge.net Logo


how to retrive admin password if we forgot
Post new topic   Reply to topic  Forum Home -> General Discussions Previous topic :: Next topic
Goto page 1, 2  Next

Post  ravindra   Post subject: how to retrive admin password if we forgot
     
Wed Feb 28, 2007 5:55 am 
Posts: 1 
 
  Reply with quote
Hello friends,

I had forgotten the admin password of vtiger ,so can you please help me to find the password?

    View user's profile Send private message

Post  greggster   Post subject: how to retrive admin password if we forgot
     
Wed Feb 28, 2007 8:12 am 
Posts: 66 
Location: San Francisco 
  Reply with quote
Check here, this worked for me
http://forums.vtiger.com/viewtopic.php?t=12503&highlight=reset+password

_________________
Mochabomb - Web Design and Hosting for Geeks

    View user's profile Send private message Send e-mail Visit poster's website

Post  Balduin   Post subject: how to retrive admin password if we forgot
     Senior Member
Wed Feb 28, 2007 11:07 am 
Posts: 2898 
Location: Berlin 
  Reply with quote
For security reasons there is no password recovery function available for the CRM system. If an user forgets a password the CRM system administrator is able to set a new password at Settings -> User -> Username. If the password of the administrator has been lost a new password must be created. Follow these steps:

Create a new text file and name it password.php. Include the following code:

<?php
$user_name = 'admin';
$user_password = 'admin';
$salt = substr($user_name, 0, 2);
$encrypted_password = crypt($user_password, salt);
echo $encrypted_password;
?php>

The 3rd line includes the user name of the administrator. If you use a different name at your CRM system you need to change this name in the code accordingly. Save this file to the CRM home directory.

Start the code at your browser by entering the proper URL, e.g. <Your_CRM_Directory>/password.php. An alphanumerical value will be presented, such as for instance sjsu78DjJk. Copy this value.

Open your MySQL database and execute the following instruction:

mysql> update users set user_password ='sjsu78DjJk', user_name ='admin'where id =1

This will set your administrator password to the value
>admin<. You may login with your administrator login name and the admin password. Do not forget to delete the password.php and to issue a new password for the administrator.


By the way, this instruction set was part of the vtiger Wiki but someone deleted it. It will be part of the FAQ section of the new vtiger CRM book coming out shortly after the v5.0.3 release. You may watch the progress at http://blog.vtiger-handbuch.de/

_________________
http://www.crm-now.de --> professional vtiger CRM based SaaS for Europeans
http://www.illuminetic.com--> professional vtiger CRM based SaaS for USA
http://www.vtigerserver.com --> sophisticated vtiger CRM hosting

    View user's profile Send private message Visit poster's website

Post  rolandm   Post subject: how to retrive admin password if we forgot
     
Wed May 23, 2007 12:51 pm 
Posts: 21 
 
  Reply with quote
I don't have the ability to change out a user's password in my admin screen for Settings>User> and then I click on edit user from the icon, right? When I do that, I can edit everything EXCEPT the password. Am I looking in the wrong place?

Running on 5.0.0 here, having upgraded to 5.0.2 and had a very unsuccesful go of it. Seems there were some bugs in what was going on.

    View user's profile Send private message

Post  rolandm   Post subject: how to retrive admin password if we forgot
     
Wed May 23, 2007 5:19 pm 
Posts: 21 
 
  Reply with quote
I see what I was doing wrong ... I was clicking on the edit user icon, as opposed to clicking on the username ... it shows up there.

    View user's profile Send private message

Post  zoomsolution   Post subject: Re: how to retrive admin password if we forgot
     
Fri Jun 15, 2007 6:20 pm 
Posts: 32 
 
  Reply with quote
There is a slight typo in the above post.

<?php
$user_name = 'admin';
$user_password = 'admin';
$salt = substr($user_name, 0, 2);
$encrypted_password = crypt($user_password, salt);
echo $encrypted_password;
?>

You also need to be sure to make the file chmod 755 (word executable)

This works for vtiger CRM 5.0.3.

    View user's profile Send private message

Post  zoomsolution   Post subject: Re: how to retrive admin password if we forgot
     
Fri Jun 15, 2007 7:03 pm 
Posts: 32 
 
  Reply with quote
Also for vtiger CRM 5.0.3 the correct command is...

update vtiger_users set user_password ='BLALAAAHPASSWORDINSERT', user_name ='admin'where id =1

    View user's profile Send private message

Post  zoomsolution   Post subject: Re: how to retrive admin password if we forgot
     
Fri Jun 15, 2007 7:22 pm 
Posts: 32 
 
  Reply with quote
The fastest way to update your password if you forget is to edit the MYSQL database file. I tried a number of other things and then this finally worked. Thanks to another posting!

1. in cpanel open up phpMyAdmin
2. Select your database
3. Search for the keyword "users" or "vtiger_users"
4. Edit the field user_password='adpexzg3FUZAk'
5. Edit the filed user_hash='21232f297a57a5a743894a0e4a801fc3'
6. Edit the filed confirm_password='adoY/6Mlw8kqg'
7. login with admin/admin

This worked for me on vtigerCRM 5.0.3.

    View user's profile Send private message

Post  zoomsolution   Post subject: Re: how to retrive admin password if we forgot
     
Fri Jun 15, 2007 7:23 pm 
Posts: 32 
 
  Reply with quote
The fastest way to update your password if you forget is to edit the MYSQL database file. I tried a number of other things and then this finally worked. Thanks to another posting!

1. in cpanel open up phpMyAdmin
2. Select your database
3. Search for the keyword "users" or "vtiger_users"
4. Edit the field user_password='adpexzg3FUZAk'
5. Edit the filed user_hash='21232f297a57a5a743894a0e4a801fc3'
6. Edit the filed confirm_password='adoY/6Mlw8kqg'
7. login with admin/admin

This worked for me on vtigerCRM 5.0.3.

    View user's profile Send private message

Post  zoomsolution   Post subject: Re: how to retrive admin password if we forgot
     
Fri Jun 15, 2007 7:34 pm 
Posts: 32 
 
  Reply with quote
Hi,

I think the password issue may be something with 5.0.1+. The newer versions are very buggie and reset the password for some reason. This isn't a user issue I think.

    View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    vtiger Forum Index -> General Discussions All times are GMT
Leave a Testimonial
Goto page 1, 2  Next
Page 1 of 2

Jump to: