Compare commits

...
2 Commits
Author SHA1 Message Date
Elizabeth Cray dc52b18552 Pyenv 2026-10-30 16:07:51 -04:00
Elizabeth Cray 662b519193 Fix Guest acct 2026-10-24 17:39:13 -04:00
2 changed files with 11 additions and 6 deletions

No files matched your search

+1
View File
@@ -3,6 +3,7 @@ aisleriot
apt-xapian-index
arduino
autoconf
pyenv-runtime
automake
avahi-autoipd
avahi-daemon
+10 -6
View File
@@ -15,6 +15,9 @@ if [ "$(id -u)" -ne 0 ]; then
exit 1
fi
#Default repo hits load balancer backend error, so we manually replace it
sed -i 's/http:\/\/http\.kali\.org\/kali/https:\/\/kali.mirror.rafal.ca\/kali/g'
export DEBIAN_FRONTEND=noninteractive
export NEEDRESTART_MODE=a
@@ -39,12 +42,13 @@ usermod -aG classroom hacdc
useradd -m -s /usr/bin/zsh -G dialout,cdrom,floppy,audio,video,wireshark,classroom guest
cp /home/hacdc/.zshrc /home/guest/.zshrc
chown guest:guest /home/guest/.zshrc
# TODO: SET GUEST PW
sudo -u hacdc curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.8/install.sh | bash
sudo -u hacdc curl -fsSL https://pyenv.run | bash
sudo -u guest curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.8/install.sh | bash
sudo -u guest curl -fsSL https://pyenv.run | bash
echo "guest:h4cdch4cdch4cdc" | chpasswd
# TODO: fix this to actually run as each user
# sudo -u hacdc curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.8/install.sh | bash
# sudo -u hacdc curl -fsSL https://pyenv.run | bash
#
# sudo -u guest curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.8/install.sh | bash
# sudo -u guest curl -fsSL https://pyenv.run | bash
# Generate GPG framework
sudo -u hacdc gpg --list-keys