Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd March 2012, 12:35
insel insel is offline
Junior Member
 
Join Date: Oct 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 2nd March 2012, 12:51
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,449
Thanks: 813
Thanked 5,218 Times in 4,090 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 2nd March 2012, 12:56
insel insel is offline
Junior Member
 
Join Date: Oct 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hi Till.

Thank you! Easier than expected ;-).

Sebastian
Reply With Quote
Reply

Bookmarks

Tags
cli, command line, password

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix: can send emails outside, none received daseagle Server Operation 9 11th October 2011 12:03
Postfix problem and few questions Gimly Installation/Configuration 12 7th July 2009 16:27
Postfix + postfixadmin = SMTP errors... Rashef Server Operation 4 25th June 2009 16:12
just the last step...and it works. Postfix...need help config. ubuntusr Installation/Configuration 1 5th January 2009 09:50
Problem with dcc-client installation (Postfix) swap-as Installation/Configuration 9 18th September 2008 20:47


All times are GMT +2. The time now is 10:36.


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