From 28a01afccca5c1e89e98f93cb0886ca1737b3d74 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sat, 21 Jan 2017 16:46:15 +0100 Subject: [PATCH] Fixed 'sats-user' instead of 'satsuser' --- clone/clone | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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