From 1cca79987d7a8268240bd70aebce221eaa96e30a Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Sun, 4 Jun 2023 22:01:31 -0700 Subject: [PATCH] added password rester-test --- .../Reseter Source Files/Intro.md | 0 .../Master_Passwords_Reset.sh | 0 .../Icon/Sovran_SystemsOS_Updater_Iconv3.svg | 236 ------------------ .../localscript_to_remote_updater.sh | 5 - .../Sovran_SystemsOS_Updater.desktop | 7 - .../Updater Source Files/Intro.md | 18 -- .../Update_Sovran_SystemsOS.sh | 56 ----- .../Update_Sovran_SystemsOS.sh.archive | 47 ---- .../sovran_systemsOS_updater_install.sh | 23 -- 9 files changed, 392 deletions(-) rename {Sovran_SystemsOS_Password_Reseter => Sovran_SystemsOS_Password_Reseter1}/Reseter Source Files/Intro.md (100%) rename {Sovran_SystemsOS_Password_Reseter => Sovran_SystemsOS_Password_Reseter1}/Reseter Source Files/Master_Passwords_Reset.sh (100%) delete mode 100644 Sovran_SystemsOS_Password_Reseter1/To Install on Local Sovarn Pros/.Sovran_Systems/Icon/Sovran_SystemsOS_Updater_Iconv3.svg delete mode 100644 Sovran_SystemsOS_Password_Reseter1/To Install on Local Sovarn Pros/.Sovran_Systems/localscript_to_remote_updater.sh delete mode 100644 Sovran_SystemsOS_Password_Reseter1/To Install on Local Sovarn Pros/Sovran_SystemsOS_Updater.desktop delete mode 100644 Sovran_SystemsOS_Password_Reseter1/Updater Source Files/Intro.md delete mode 100755 Sovran_SystemsOS_Password_Reseter1/Updater Source Files/Update_Sovran_SystemsOS.sh delete mode 100755 Sovran_SystemsOS_Password_Reseter1/Updater Source Files/Update_Sovran_SystemsOS.sh.archive delete mode 100755 Sovran_SystemsOS_Password_Reseter1/sovran_systemsOS_updater_local_installer/sovran_systemsOS_updater_install.sh diff --git a/Sovran_SystemsOS_Password_Reseter/Reseter Source Files/Intro.md b/Sovran_SystemsOS_Password_Reseter1/Reseter Source Files/Intro.md similarity index 100% rename from Sovran_SystemsOS_Password_Reseter/Reseter Source Files/Intro.md rename to Sovran_SystemsOS_Password_Reseter1/Reseter Source Files/Intro.md diff --git a/Sovran_SystemsOS_Password_Reseter/Reseter Source Files/Master_Passwords_Reset.sh b/Sovran_SystemsOS_Password_Reseter1/Reseter Source Files/Master_Passwords_Reset.sh similarity index 100% rename from Sovran_SystemsOS_Password_Reseter/Reseter Source Files/Master_Passwords_Reset.sh rename to Sovran_SystemsOS_Password_Reseter1/Reseter Source Files/Master_Passwords_Reset.sh diff --git a/Sovran_SystemsOS_Password_Reseter1/To Install on Local Sovarn Pros/.Sovran_Systems/Icon/Sovran_SystemsOS_Updater_Iconv3.svg b/Sovran_SystemsOS_Password_Reseter1/To Install on Local Sovarn Pros/.Sovran_Systems/Icon/Sovran_SystemsOS_Updater_Iconv3.svg deleted file mode 100644 index db97054..0000000 --- a/Sovran_SystemsOS_Password_Reseter1/To Install on Local Sovarn Pros/.Sovran_Systems/Icon/Sovran_SystemsOS_Updater_Iconv3.svg +++ /dev/null @@ -1,236 +0,0 @@ - - - - - diff --git a/Sovran_SystemsOS_Password_Reseter1/To Install on Local Sovarn Pros/.Sovran_Systems/localscript_to_remote_updater.sh b/Sovran_SystemsOS_Password_Reseter1/To Install on Local Sovarn Pros/.Sovran_Systems/localscript_to_remote_updater.sh deleted file mode 100644 index 956f317..0000000 --- a/Sovran_SystemsOS_Password_Reseter1/To Install on Local Sovarn Pros/.Sovran_Systems/localscript_to_remote_updater.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash - -bash -c "$(curl https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Update_Sovran_SystemsOS.sh)" - -exit \ No newline at end of file diff --git a/Sovran_SystemsOS_Password_Reseter1/To Install on Local Sovarn Pros/Sovran_SystemsOS_Updater.desktop b/Sovran_SystemsOS_Password_Reseter1/To Install on Local Sovarn Pros/Sovran_SystemsOS_Updater.desktop deleted file mode 100644 index 0843de1..0000000 --- a/Sovran_SystemsOS_Password_Reseter1/To Install on Local Sovarn Pros/Sovran_SystemsOS_Updater.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Version=1.0 -Terminal=false -Type=Application -Name=Sovran_SystemsOS Updater -Exec=/home/free/.Sovran_Systems/localscript_to_remote_updater.sh -Icon=/home/free/.Sovran_Systems/Icon/Sovran_SystemsOS_Updater_Iconv3.svg \ No newline at end of file diff --git a/Sovran_SystemsOS_Password_Reseter1/Updater Source Files/Intro.md b/Sovran_SystemsOS_Password_Reseter1/Updater Source Files/Intro.md deleted file mode 100644 index 9e0fd8e..0000000 --- a/Sovran_SystemsOS_Password_Reseter1/Updater Source Files/Intro.md +++ /dev/null @@ -1,18 +0,0 @@ - -Welcome to the Sovran_SystemsOS Updater! - -This updater will run through a few stages. - -Be patient... - -A couple windows will pop up during the process. Keep clicking "OK." - -When it is finished, a final pop up will state "Complete! Please Reboot." and then you can reboot when ready. - -All updates come from here: https://git.sovransystems.com/Sovran_Systems/Sovran_SystemsOSv2 - -Don't Trust, Verify! - -After you have checked that the software is safe from the link above, then click "OK." - -Enjoy! \ No newline at end of file diff --git a/Sovran_SystemsOS_Password_Reseter1/Updater Source Files/Update_Sovran_SystemsOS.sh b/Sovran_SystemsOS_Password_Reseter1/Updater Source Files/Update_Sovran_SystemsOS.sh deleted file mode 100755 index 55dc20d..0000000 --- a/Sovran_SystemsOS_Password_Reseter1/Updater Source Files/Update_Sovran_SystemsOS.sh +++ /dev/null @@ -1,56 +0,0 @@ -#!/usr/bin/env bash - -set -o nounset - -curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Intro.md" | -zenity --text-info \ ---title="Sovran_SystemsOS Updater" \ ---width=1110 \ ---height=710 - -if [[ $? -eq 1 ]]; then - - exit 1 - -else - -#id=$(curl ifconfig.me) - -ssh -i /home/free/.ssh/sovranpro_login root@192.168.1.32 'cd /etc/nixos; nix flake update' - -if [[ $? != 0 ]]; then - echo "Could not update flake -- exiting" | - zenity --text-info \ - --title="Sovran_SystemsOS Updater" \ - --width=1110 \ - --height=710 - - exit 1 -fi - -ssh -i /home/free/.ssh/sovranpro_login root@192.168.1.32 "nixos-rebuild switch --impure" | - zenity --progress \ - --no-cancel \ - --auto-close \ - --pulsate \ - --title="Sovran_SystemsOS Updater" - -if [[ $? != 0 ]]; then - echo "Could not Update Sovran_SystemsOS -- exiting" | - zenity --text-info \ - --title="Sovran_SystemsOS Updater" \ - --width=1110 \ - --height=710 - - exit 1 -fi - -zenity --info \ - --ellipsize \ - --no-wrap \ - --title="Sovran_SystemsOS Updater" \ - --text="Complete! Please Reboot." - -fi - -exit 0 \ No newline at end of file diff --git a/Sovran_SystemsOS_Password_Reseter1/Updater Source Files/Update_Sovran_SystemsOS.sh.archive b/Sovran_SystemsOS_Password_Reseter1/Updater Source Files/Update_Sovran_SystemsOS.sh.archive deleted file mode 100755 index 5b85db5..0000000 --- a/Sovran_SystemsOS_Password_Reseter1/Updater Source Files/Update_Sovran_SystemsOS.sh.archive +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/env bash - - -curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Intro.md" | -zenity --text-info \ ---title="Sovran_SystemsOS Updater" \ ---width=1110 \ ---height=710 - -if [[ $? -eq 1 ]]; then - - exit 1 -fi - -password=$(zenity --password --title="Sovran_SystemsOS Updater") - - if [ $? -eq 1 ] ; then - - exit 2 - - else - - - pushd /etc/nixos/ - - echo -e "$password" | sudo -S nix flake update - - popd - - - echo -e "$password" | sudo -S nixos-rebuild switch --impure | - zenity --progress \ - --no-cancel \ - --auto-close \ - --pulsate \ - --title="Sovran_SystemsOS Updater" - - - zenity --info \ - --ellipsize \ - --no-wrap \ - --title="Sovran_SystemsOS Updater" \ - --text="Complete! Please Reboot." - - fi - -exit 0 \ No newline at end of file diff --git a/Sovran_SystemsOS_Password_Reseter1/sovran_systemsOS_updater_local_installer/sovran_systemsOS_updater_install.sh b/Sovran_SystemsOS_Password_Reseter1/sovran_systemsOS_updater_local_installer/sovran_systemsOS_updater_install.sh deleted file mode 100755 index 7d242e0..0000000 --- a/Sovran_SystemsOS_Password_Reseter1/sovran_systemsOS_updater_local_installer/sovran_systemsOS_updater_install.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env bash - -pushd ~/Downloads - -wget https://git.sovransystems.com/Sovran_Systems/Software/archive/main.zip - -unzip main.zip - -popd - -mkdir ~/.Sovran_Systems - -mv "/home/free/Downloads/packages/Sovran_SystemsOS_Updater/To Install on Local Sovarn Pros/.Sovran_Systems" /home/free/ - -mv "/home/free/Downloads/packages/Sovran_SystemsOS_Updater/To Install on Local Sovarn Pros/Sovran_SystemsOS_Updater.desktop" /home/free/.local/share/applications/ - -chmod 770 /home/free/.Sovran_Systems/localscript_to_remote_updater.sh - -rm -rf /home/free/Downloads/main.zip - -rm -rf /home/free/Downloads/packages - -exit \ No newline at end of file