I'm trying to set up a CGI script to allow users to change their account passwords via a web interface. As root, I would normally type passwd <user> and be prompted to enter and reenter the passwords. As there are no flags to pass on the commandline which will accept the password from there, such as adduser has, eliminating any interaction, I am resigned to the fact that I have to do some sort of interprocess communication.
The Programming Perl book in Chapter 6 mentions Comm.pl as a possible package to use to manage that interaction automatically but I can't seem to find it on CPAN where it suggests. Any suggestions where I can find it or another suitable package? I have decided, for safety and sanity, to not do any file editing on my master.passwd file, and have opted instead to use the system utilities. Any help would be appreciated.
Radagast