note
eXile
Hi,
<p>
since unix-flavors tend to use different password databases and <tt>/etc/password</tt> is mostly a relic from the past that is kept for backward compatibility issues (i think), your best bet for changing a password is using a platforms native password changing utility, for most (all?) platforms that would be the <tt>passwd</tt> utility. What I'd do is write a script that uses [cpan://Expect] to interact with the native password changing utility.
564560
564560