add:https://stackoverflow.com/questions/2150882/how-to-automatically-add-user-account-and-password-with-a-bash-script
28
|
I liked Tralemonkey's approach of
echo thePassword | passwd theUsername --stdin though it didn't quite work for me as written. This however worked for me.
|
没有评论:
发表评论