From 67c5e05203629a3261052d3c56ef3d4652d134c6 Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Thu, 6 Feb 2020 23:42:25 -0600 Subject: fixed passwd bug --- lxc/roll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc/roll b/lxc/roll index fa95cdd..5af4cca 100755 --- a/lxc/roll +++ b/lxc/roll @@ -19,7 +19,7 @@ lxc-attach -n $NAME -- pacman -Sy --noconfirm \ lxc-attach -n $NAME -- useradd $USER lxc-attach -n $NAME -- mkdir /home/$USER lxc-attach -n $NAME -- bash -c 'echo "'$USER' ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers' -lxc-attach -n $NAME -- bash -c 'echo -e "'$PASS'\n'$PASS'" | passwd '$USER +lxc-attach -n $NAME -- bash -c 'echo -e "'$PASS'\n'$PASS'" | passwd $USER' # setup for yay lxc-attach -n $NAME -- mkdir /home/$USER/yay -- cgit v1.2.3