Skip to content

Commit

Permalink
Use passwd instead of chpasswd.
Browse files Browse the repository at this point in the history
  • Loading branch information
icedream committed Jun 6, 2022
1 parent 277b715 commit 4390e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compile-buildroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ if ! sudo ./mount.sh grep -q sshd /etc/passwd; then
sudo ./mount.sh --write /sbin/adduser -H -S -D -G sshd -h /var/empty sshd
fi
sudo ./mount.sh --write sed -i 's,#PermitRootLogin .\+,PermitRootLogin yes,g' /etc/ssh/sshd_config
sudo ./mount.sh --write /sbin/chpasswd <<< 'root:denonprime4'
(echo denonprime4 && echo denonprime4) | sudo ./mount.sh --write passwd root
sudo ./mount.sh --write mkdir -p /var/empty

0 comments on commit 4390e0f

Please sign in to comment.