Hi all, I understand this is a little off topic, but it essetially this question has alot to do with Perl. My question is what are the curent rules for a Unix passwd? i.e How many characters? Also has any one had anything to do with the module Unix::PasswdFile.
I have the following code that inserts a current user into /etc/passwd. For some unknown reason the users password is not inserted into /etc/shadow. my $pw = new Unix::PasswdFile "/etc/passwd"; $pw->user("$new_user", $pw->encpass("$new_pass"), $pw->maxuid + 1, 45, "$new_fname $new_lname", "/home/$new_user", "/bin/false"); $pw->passwd("$new_user", $pw->encpass("$new_pass")); $pw->commit(); undef $pw; Any ideas? Thx, Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]