# as_root command arg file username password
sudo htpasswd -b passwd user userpassword