diff --git a/clone/clone b/clone/clone index e54ae8f..29f0141 100755 --- a/clone/clone +++ b/clone/clone @@ -117,17 +117,17 @@ step4(){ step5(){ echo "\n>>> [5] Updating users"; - echo " (.) Adding user satsuser"; + echo " (.) Adding user sats-user"; # shadow echo " /etc/shadow"; ## TODO: Manage default password ## - echo "satsuser:*:17185:0:999999:7::" | sudo tee -a /mnt/etc/shadow > /dev/null; - echo "satsuser:*:17185:0:999999:7::" | sudo tee -a /mnt/etc/shadow- > /dev/null; + echo "sats-user:*:17185:0:999999:7::" | sudo tee -a /mnt/etc/shadow > /dev/null; + echo "sats-user:*:17185:0:999999:7::" | sudo tee -a /mnt/etc/shadow- > /dev/null; # passwd echo " /etc/passwd"; - echo "satsuser:x:666:666:sats-user,,,:/home/sats-user:/bin/sh" | sudo tee -a /mnt/etc/passwd > /dev/null; - echo "satsuser:x:666:666:sats-user,,,:/home/sats-user:/bin/sh" | sudo tee -a /mnt/etc/passwd- > /dev/null; + echo "sats-user:x:666:666:sats-user,,,:/home/sats-user:/bin/sh" | sudo tee -a /mnt/etc/passwd > /dev/null; + echo "sats-user:x:666:666:sats-user,,,:/home/sats-user:/bin/sh" | sudo tee -a /mnt/etc/passwd- > /dev/null; echo " (.) Removing pi's login password"; # create temp file without pi's password