diff options
author | Tom Barrett <tom@tombarrett.xyz> | 2020-02-06 23:42:25 -0600 |
---|---|---|
committer | Tom Barrett <tom@tombarrett.xyz> | 2020-02-06 23:42:25 -0600 |
commit | 67c5e05203629a3261052d3c56ef3d4652d134c6 (patch) | |
tree | a8d9fbac8c24df26eea16ad0865c2e2cc2d96661 /lxc | |
parent | 861f1c2c4553663dd4b46fbaabe73d0df5ba8602 (diff) |
fixed passwd bug
Diffstat (limited to 'lxc')
-rwxr-xr-x | lxc/roll | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |