sysadminery:linux_boilerplate
This is an old revision of the document!
install
make your password something terrible like “temp” - terminal emulators accept keypresses for weird-ass symbols pretty well, but most things don't cooperate with password managers.
-
-
find /etc/ssh/sshd_config
, set PasswordAuthentication to yes
sudo service ssh restart
login as ssh, fix passwords (for both self and root!)
setup pubkey login
-
cooperate with nas
at time of writing, my nasbox follows the file access/organization strategy of “heap (none)”. so there's /mnt/pool1/exchange, mode 775, owned by group 1024: exchangers.
groupadd -g 1024 exchangers
usermod -a -G exchangers adam
you'll need some kind of program to mount NFS shares. on debian 11, apt-get install nfs-common
make the target directory. I've been using /srv/gusion.
now you can edit
/etc/fstab
:
gusion.lan:/mnt/pool1/exchange /srv/gusion nfs defaults 0 0
-
join the wiregarden
sysadminery/linux_boilerplate.1677518550.txt.gz · Last modified: 2023/02/27 17:22 by adam