Oliver Etzel - GoodnGo.COM \(R\) writes:
> Paul: The reason why I do NOT want vadduser or any commandline tool is
> that I want to write a perl script which automatize user generation.
> Cool would would be If one could run:
> vadduser $variable_password
> or something like this in
> Perl or PHP code!
vadduser has always allowed the plaintext password to be specified
on the command line as:
vadduser email_address password
Newer versions can generate a random password with:
vadduser -r email_address
Both forms can be run from perl using backticks. The random password
from the second form can be collected from the backticks in perl.