Encrypted passwords
This commit is contained in:
parent
801eb22be6
commit
60e2d7bca8
@ -24,7 +24,7 @@ DISK="/dev/vda"
|
||||
HOSTNAME="arch-testing"
|
||||
USER="clc"
|
||||
PASSWD='$6$xyz$qss5rNcJjj5Efn1tSkCaplTQXVbQlmXkjxOd/FQvZzlKSRg/DUalJkPaoiJZkAS.wDCt9b1eA3CWePHvQDi5T.'
|
||||
ROOTPASSWD="needssalt"
|
||||
ROOTPASSWD='$6$xyz$M8krfY7uUk9F/GmkycfeNjkwZkFHWvmSegtgeV9VEeee.G1OAhiSq2/H4VSS74Qp64J.Ey.i5AIdnI4bjKXLz1'
|
||||
|
||||
#Echo text with a color passed as the second arguement
|
||||
echoc () {
|
||||
@ -110,7 +110,7 @@ sysinstall () {
|
||||
arch-chroot /mnt chsh -s /bin/bash
|
||||
|
||||
echo "$USER:$PASSWD" | chpasswd -e --root /mnt
|
||||
echo "root:$ROOTPASSWD" | chpasswd --root /mnt
|
||||
echo "root:$ROOTPASSWD" | chpasswd -e --root /mnt
|
||||
}
|
||||
|
||||
######################################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user