I just upgraded a HP-UX 11.11 box to support shadow passwords. It was running webmin and I also upgraded to the most recent. When I tested out creating a user, it wrote the encrypted password to /etc/password eevne though I set the shadow file in the module config andn changed edited my miniserv.conf to reflect /etc shadow for passwords.
I finally tracked it down to the /usr/local/webmin/useradmin/hpux-lib.pl file which instead of checking the password file type as in the solaris-lib.pl, it is hardcoded to return 0!
I inserted the line from the solaris fiel into the hpux file and shadow passwords are created correctly.
Is this a legacy of my older installs? Will I have to make this mod on every upgrade? Can this be changed since HPUX does have a full SYS V compatible paswd/shadow system that can be installed?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just upgraded a HP-UX 11.11 box to support shadow passwords. It was running webmin and I also upgraded to the most recent. When I tested out creating a user, it wrote the encrypted password to /etc/password eevne though I set the shadow file in the module config andn changed edited my miniserv.conf to reflect /etc shadow for passwords.
I finally tracked it down to the /usr/local/webmin/useradmin/hpux-lib.pl file which instead of checking the password file type as in the solaris-lib.pl, it is hardcoded to return 0!
I inserted the line from the solaris fiel into the hpux file and shadow passwords are created correctly.
Is this a legacy of my older installs? Will I have to make this mod on every upgrade? Can this be changed since HPUX does have a full SYS V compatible paswd/shadow system that can be installed?