Talk:Alpine newbie apk packages

From Alpine Linux
Jump to: navigation, search

TO FIX:

@ Users creation and defaults

These commands have wrong syntax:

echo "secret_new_remote_user_password" | chpasswd

echo "secret_new_general_user_password" | chpasswd

The correct syntax for the command chpasswd should be:

echo "remote:secret_new_remote_user_password" | chpasswd

echo "general:secret_new_general_user_password" | chpasswd

Because chpasswd need the format "username:password"