HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   mail-)user passwords from command line (cli), not by web interface (http://www.howtoforge.com/forums/showthread.php?t=56403)

insel 2nd March 2012 12:35

mail-)user passwords from command line (cli), not by web interface
 
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

till 2nd March 2012 12:51

Quote:

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.
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.

insel 2nd March 2012 12:56

Hi Till.

Thank you! Easier than expected ;-).

Sebastian


All times are GMT +2. The time now is 16:11.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.