SystemInstaller::Passwd3pm
A library to modify passwd files from perl
Usage
use SystemInstaller::Passwd qw(update_user);update_user(imagepath => '/var/lib/systemimager/image/image1',user => 'root',password => 'yourmoma');
Overview
This library uses the usermod command to set the password for a user within an image. They password given is encrypted using crypt and then passed to usermod.
Methods
update_user(%variables)
Changelog
$Log: Passwd.pm,v $ Revision 1.8 2002/06/12 15:34:35 mchasal Use usermod for password setting.
Revision 1.7 2001/10/09 15:36:57 sdague added better error messages if password files can't be opened
Revision 1.6 2001/09/04 17:04:22 sdague updated shadow passwd fields
Revision 1.5 2001/08/31 17:51:08 sdague added some more stub documentation
Revision 1.4 2001/08/31 17:46:43 sdague added version and changelog to SystemInstaller::Passwd
Releases
2 releases since Debian 3.1 (Sarge); the text changed 1 time.