Does cpanel use md5 or sha-512 for password encryption?

BianchiDude

Well-Known Member
PartnerNOC
Jul 2, 2005
617
0
166
Does cpanel use md5 or sha-512 for password encryption?

My shadow files appear to contain some of each.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
41
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
The passwords are stored in /etc/shadow location, since the users are stored in /etc/passwd and the groups in /etc/group files on Linux. Which file are you checking for the encryption type?
 

BianchiDude

Well-Known Member
PartnerNOC
Jul 2, 2005
617
0
166
/etc/shadow
/home/user/etc/domain/shadow
and
/etc/proftpd/passwd.vhosts
 
Last edited:

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
41
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
The /etc/shadow file encryption is that used by Linux itself. This is not a cPanel-specific file.

The /etc/proftpd/passwd.vhosts file is that used by pure-ftpd or proftpd services and uses the encryption type those services use.

The /home/user/etc/domain/shadow file is ours for maildir for Dovecot or IMAP.

Each are entirely different services with different purposes. Why precisely are you trying to do? Knowing that would be helpful in proceeding.