BenRussell
Programmer
I want to create a user using a Perl script using the 'useradd' command (on Red Hat Linux).
However, I also want to set the password when I issue the command, such as:
useradd SOMEUSER -p SOMEPASSWORD
The problem is that SOMEPASSWORD has to be encrypted when it is passed to useradd and I do not know which algorithm to use. What Perl module can give me access to this algorithm?
- Ben
However, I also want to set the password when I issue the command, such as:
useradd SOMEUSER -p SOMEPASSWORD
The problem is that SOMEPASSWORD has to be encrypted when it is passed to useradd and I do not know which algorithm to use. What Perl module can give me access to this algorithm?
- Ben