Trying to write a tool to allow managers to create accounts for staff in their area. To do this I started with some simple playing, ssh to the NIS server, create user and set password. It's the latter that caused problems as the passwd command over ssh is not so easy to manipulate and that's what I need some pointers to.
One idea I've had but not tried is to Net::Telnet to localhost and use that as a sort of "pipe". Hopefully that will give a flow control that will allow manipulation of passwd responces.