apt-get install sudo
usermod -a -G sudo adam
/etc/ssh/sshd_config, set PasswordAuthentication to yessudo service ssh restartsudo apt-get install vim
/etc/profile. On some systems there may only be ~/.bash_profile. debian 12 for example says that if it finds that it'll override /etc/profile and ~/.profile If you're using dotnet, you want to turn off MS spyware (as best you're able). Add this line: export DOTNET_CLI_TELEMETRY_OPTOUT=1
sudo useradd -m -s /bin/bash [username]; passwd [username]
if you fucked up and missed the -s: chsh -s /bin/bash. fuck knows what chsh without -s is for.
groupadd -g 1024 exchangers usermod -a -G exchangers adam
apt-get install nfs-common/etc/fstab: gusion.lan:/mnt/pool1/exchange /srv/gusion nfs defaults 0 0
sudo mount -a
apt.BEFORE FIRST BOOT
mount the boot partition.
1) make yourself a user
echo "myuser:$(echo 'mypassword' | openssl passwd -6 -stdin)" > userconf
2) enable ssh
touch ssh
yes, that's all. really. blank file.
3) if you want wifi:
make wpa_supplicant.conf.
if it's wpa3/wpa2 mixed:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US
network={
ssid="Your network name/SSID"
psk="Your WPA security key"
key_mgmt=WPA-PSK-SHA256
ieee80211w=2
}
if it's just wpa2, remove the ieee80211w=2 line