I'm useing linux command useradd and I have problem. I crypted password and add user but not put all pass like:
Encrypted password: $1$ky6XlX5g$mu6Wva/vTJgZF9.p8tyAq/
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