mirror of
https://github.com/femtofox/femtofox.git
synced 2026-12-01 20:36:41 -05:00
Revert "Default password for femto is now femto. Must be changed on first login."
This commit is contained in:
parent
af1d8d1dc1
commit
c682bee0a8
3 changed files with 4 additions and 38 deletions
|
|
@ -22,7 +22,7 @@ sudoer=$(echo $SUDO_USER)
|
|||
install_prerequisites() {
|
||||
echo “Setting up Foxbuntu build environment…”
|
||||
apt update
|
||||
apt install -y git ssh make gcc gcc-multilib g++-multilib module-assistant expect g++ gawk texinfo libssl-dev bison flex fakeroot cmake unzip gperf autoconf device-tree-compiler libncurses5-dev pkg-config bc python-is-python3 passwd openssl openssh-server openssh-client vim file cpio rsync qemu-user-static binfmt-support dialog
|
||||
apt install -y git ssh make gcc gcc-multilib g++-multilib module-assistant expect g++ gawk texinfo libssl-dev bison flex fakeroot cmake unzip gperf autoconf device-tree-compiler libncurses5-dev pkg-config bc python-is-python3 passwd openssl openssh-server openssh-client vim file cpio rsync qemu-user-static binfmt-support
|
||||
}
|
||||
|
||||
clone_repos() {
|
||||
|
|
@ -190,7 +190,7 @@ ln -sf /usr/share/zoneinfo/UTC /etc/localtime
|
|||
echo "Installing packages..."
|
||||
|
||||
apt update
|
||||
DEBIAN_FRONTEND=noninteractive apt install -y --option Dpkg::Options::="--force-confold" linux-firmware wireless-tools git python3.10-venv libgpiod-dev libyaml-cpp-dev libbluetooth-dev openssl libssl-dev libulfius-dev liborcania-dev evtest screen avahi-daemon protobuf-compiler telnet fonts-noto-color-emoji ninja-build chrony qrencode
|
||||
DEBIAN_FRONTEND=noninteractive apt install -y --option Dpkg::Options::="--force-confold" linux-firmware wireless-tools git python3.10-venv libgpiod-dev libyaml-cpp-dev libbluetooth-dev openssl libssl-dev libulfius-dev liborcania-dev evtest screen avahi-daemon protobuf-compiler telnet fonts-noto-color-emoji ninja-build chrony
|
||||
if [[ $? -eq 2 ]]; then echo "Error, step failed..."; fi
|
||||
DEBIAN_FRONTEND=noninteractive apt upgrade -y --option Dpkg::Options::="--force-confold"
|
||||
|
||||
|
|
@ -248,8 +248,7 @@ find / -group pico -exec chgrp femto {} \
|
|||
find / -user pico -exec chown femto {} \
|
||||
usermod -d /home/femto -m femto
|
||||
ls -ld /home/femto
|
||||
echo 'femto:femto' | chpasswd
|
||||
sudo chage -d 0 femto
|
||||
echo 'femto:fox' | chpasswd
|
||||
usermod -a -G tty femto
|
||||
usermod -a -G dialout femto
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue