We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Convert exim passhash ?
-
- Posts: 27
- Joined: Thu Aug 13, 2015 3:53 pm
- Os: CentOS 5x
- Web: apache
Convert exim passhash ?
I need to convert password schemes in passwd file from MD5-CRYPT to SHA512-CRYPT. Is there a way from vestapanel side? Or can I simply follow https://wiki2.dovecot.org/HowTo/ConvertPasswordSchemes
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: Convert exim passhash ?
VestaCP just control some configs. You should follow official Exim instructions.ozgurerdogan wrote: ↑Mon Jul 15, 2019 9:03 amI need to convert password schemes in passwd file from MD5-CRYPT to SHA512-CRYPT. Is there a way from vestapanel side? Or can I simply follow https://wiki2.dovecot.org/HowTo/ConvertPasswordSchemes
Re: Convert exim passhash ?
As I see vesta is generating password with md5 crypt. So it is hardcoded ;)
File: /usr/local/vesta/bin/v-add-mail-account
I beleve, that you may change this part in files:
v-add-mail-account
v-change-mail-account-password
But I don't recommend to this, because updates can break this changes ;)
File: /usr/local/vesta/bin/v-add-mail-account
Code: Select all
# Generating hashed password
salt=$(generate_password "$PW_MATRIX" "8")
md5="{MD5}$($BIN/v-generate-password-hash md5 $salt <<<$password)"
v-add-mail-account
v-change-mail-account-password
But I don't recommend to this, because updates can break this changes ;)