Skip to main content

copy encrypted cpanel login credentials

Comments

2 comments

  • Sys Admin
    I discourage doing it in this way, It's highly insecure. However, CentOS and Redhat uses MD5 encryption by default. You can double check the file at /etc/login.defs and to do it you can just code the script to extract the entries for that specific user from /etc/shadow and to put it in their own .htpasswd, Again, This is insecure and is a bad and dangerous practice.
    0
  • cPanelMichael
    Hello :) I have moved this thread to the "Security" forum. You should get more input about this topic here. To note, it's likely a better idea to provide the user with credentials that are different than their cPanel username/password. Thank you.
    0

Please sign in to leave a comment.