I'm useing linux command useradd and I have problem. I crypted password and add user but not put all pass like:
Password: 7856
Encrypted password: $1$ky6XlX5g$mu6Wva/vTJgZF9.p8tyAq/
Example:
useradd -m -p '$1$ky6XlX5g$mu6Wva/vTJgZF9.p8tyAq/' username
I look to shadow file and not all password saved, just a slice of encrypted password.
Saved peace: /vTJgZF9.p8tyAq/
I need exactly command: useradd -m -p