How to change Horde webmail passwords in the shadow file

tuxg

Registered
Sep 5, 2007
3
0
51
Vijayawada
Hi,

If we want to change the webmail password of one of our users temporarily to something else, and restore the original one back after our work is over, how can we do this?

Removing the encryped password in $HOME/etc/<domain.name>/shadow didn't help. What else is needed to be done to achieve this?

Thank you,
 
Last edited:

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Why not use the change password function in the mail account management page of the cPanel interface? The Horde password is the same as their password for other means of accessing email.
 

tuxg

Registered
Sep 5, 2007
3
0
51
Vijayawada
Hi David:

This is to handle the scenario where we don't know a user's webmail password. We temporarily want to change it to something else to test something out, and restore the original back once our testing is over. The user need not know about this testing.

Thank you
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
Hi David:

This is to handle the scenario where we don't know a user's webmail password. We temporarily want to change it to something else to test something out, and restore the original back once our testing is over. The user need not know about this testing.

Thank you
Instead of manually manipulating one record in the file, how about this:

1. Create backup of shadow file
2. Use password change feature to change password for targeted user
3. Perform tests
4. Restore shadow file