Hoxt.com – Open Source Mirrors Apache, CPAN, PHP, MySQL, PuTTY, Linux Virtual Server, Linux Documentation Project, ProFTPD

7Jul/100

Make an encrypted password for useradd

Very simple using php:

php -r "echo crypt('myplaintextpassword123');"

useradd -m -p "$1$abJez234$fD4Dn4IrG3Hzeas3hBjIb0" -d /home/john -s /bin/bash john

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.