The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to change Horde webmail passwords in the shadow file

Discussion in 'E-mail Discussions' started by tuxg, May 7, 2008.

  1. tuxg

    tuxg Registered

    Joined:
    Sep 5, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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,
     
    #1 tuxg, May 7, 2008
    Last edited: May 7, 2008
  2. tuxg

    tuxg Registered

    Joined:
    Sep 5, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Vijayawada
    No one is aware of this?!!
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    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.
     
  4. tuxg

    tuxg Registered

    Joined:
    Sep 5, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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
     
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,460
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    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
     
Loading...

Share This Page