I think you also need to force the install of the hsxkpasswd module. At least in my MacOS I needed that because it was complaining about the dependencies not installed, even though File::HomeDir was there.