mail-)user passwords from command line (cli), not by web interface

Discussion in 'General' started by insel, Mar 2, 2012.

  1. insel

    insel New Member

    Hello.

    Is it possible to set (or just change) the password of an existing user on the command line? I haven't found a reference to this.

    Reason: I want to change the password for a lot of users and it would be a real pain to do this by the web interface.

    (As far as i found, the passwords are stored encrypted within the database, so it seems to be no option to change the settings on mysql level...)

    Hints are welcome ;-).

    Thanks,
    Sebastian
     
  2. till

    till Super Moderator

    The passwords of mail users in ISPConfig 2 are stored in the file /etc/shadow, so you can use the Linux passwd command to change them.
     
  3. insel

    insel New Member

    Hi Till.

    Thank you! Easier than expected ;-).

    Sebastian
     

Share This Page