mirror of
https://github.com/femtofox/femtofox.git
synced 2026-11-20 06:56:29 -05:00
Merge pull request #101 from noon92/femto-config
Default password is now "femto", will need to be changed on first login
This commit is contained in:
commit
04019dcd76
2 changed files with 5 additions and 5 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
|
||||
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
|
||||
}
|
||||
|
||||
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
|
||||
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
|
||||
if [[ $? -eq 2 ]]; then echo "Error, step failed..."; fi
|
||||
DEBIAN_FRONTEND=noninteractive apt upgrade -y --option Dpkg::Options::="--force-confold"
|
||||
|
||||
|
|
@ -248,7 +248,8 @@ find / -group pico -exec chgrp femto {} \; 2>/dev/null
|
|||
find / -user pico -exec chown femto {} \; 2>/dev/null
|
||||
usermod -d /home/femto -m femto
|
||||
ls -ld /home/femto
|
||||
echo 'femto:fox' | chpasswd
|
||||
echo 'femto:femto' | chpasswd
|
||||
sudo chage -d 0 femto
|
||||
usermod -a -G tty femto
|
||||
usermod -a -G dialout femto
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
Ubuntu 22.04.3 LTS \n \l
|
||||
|
||||
[username:password] root:root femto:fox
|
||||
|
||||
[username:password] root:root femto:femto (default)
|
||||
Loading…
Add table
Add a link
Reference in a new issue