http://qs321.pair.com?node_id=564560

HeatSeekerCannibal has asked for the wisdom of the Perl Monks concerning the following question:

Greetings, wise monks...
Has anybody used Unix::PasswdFile to change either the password or the shell of a user? According to the documentation it can do both, and in my system (Perl 5.6/Solaris 9/Sparc) doesnt complain at all when executing the following example:
use Unix::PasswdFile; $pw = new Unix::PasswdFile "/etc/passwd"; $pw->passwd("johndoe", $pw->encpass("newpass")); $pw->commit(); undef $pw;
...but it just doesnt change the password.
Where can i look for clues? When i run it through the debugger it doesnt show anything unusual.
Any log i can peruse? Any alternatives?
Thanks in advance,
Heatseeker Cannibal

2006-07-31 Retitled by planetscape, as per Monastery guidelines

( keep:0 edit:11 reap:0 )

Original title: 'PasswdFile'