What happened today?
tldr@chopchop:~ $sudo journalctl -S today -u kitchen-stove.service -u kitchen-bin.service -u kitchen-fridge.service -r -n
tldr@chopchop:~ $uptime -s
2024-03-18 07:51:34
This is common, the fragility of these machines are more prominant than any cloud user expects. Partially because of scale, partially because a lot of labour that happen in datacenters just escapes us all when we want to just upload an image.tldr@chopchop:~ $sudo journalctl _COMM=useradd -r -n 1 --output-fields=MES
Mar 19 15:00:26 chopchop useradd[16047]: new user: name=chef, UID=1023, GID=1023, home=/home/chef, shell=/bin/bash, from=/dev/pts/3
Users will be trusted with not just the keys and passwords to the "house" which is the server, but with a portion of responsibility to keep it afloat and contribute to what makes it a community of practices (and network of knowledge and dependence).tldr@chopchop:~ $sudo journalctl -S today _COMM=useradd -rA level 1 annotation for users_created_today
tldr@chopchop:~ $ grep 'install' /var/log/dpkg.log
- 2024-03-10 15:16:14 install libtk8.6:armhf
8.6.13-2 - 2024-03-10 15:16:15 install tk8.6-blt2.5:armhf
2.5.3+dfsg-4.1 - 2024-03-10 15:16:15 install blt:armhf
2.5.3+dfsg-4.1 - 2024-03-10 15:16:15 install python3-tk:armhf
3.11.2-3 - 2024-03-12 14:29:01 install python3-markupsafe:armhf
2.1.2-1 - 2024-03-12 14:29:02 install python3-jinja2:all
3.1.2-1 - 2024-03-15 09:51:48 install libhttp-parser2.9:armhf
2.9.4-5 - 2024-03-15 09:51:48 install libmbedx509-1:armhf
2.28.3-1 - 2024-03-15 09:51:48 install libmbedtls14:armhf
2.28.3-1 - 2024-03-15 09:51:48 install libgit2-1.5:armhf
1.5.1+ds-1+deb12u1 - 2024-03-15 09:51:49 install bat:armhf
0.22.1-4 - 2024-03-19 10:38:35 install fonts-font-awesome:all
5.0.10+really4.7.0~dfsg-4.1 - 2024-03-19 10:38:35 install python3-dateutil:all
2.8.2-2 - 2024-03-19 10:38:36 install ghp-import:all
2.1.0-3 - 2024-03-19 10:38:36 install libjs-popper.js:all
1.16.1+ds-6 - 2024-03-19 10:38:36 install libjs-bootstrap4:all
4.6.1+dfsg1-4 - 2024-03-19 10:38:36 install libjs-highlight.js:all
9.18.5+dfsg1-2 - 2024-03-19 10:38:37 install libjs-lunr:all
2.3.9~dfsg-2 - 2024-03-19 10:38:37 install libjs-modernizr:all
2.6.2+ds1-5 - 2024-03-19 10:38:37 install libjs-sizzle:all
2.3.6+ds+~2.3.3-2 - 2024-03-19 10:38:37 install python3-tornado:armhf
6.2.0-3 - 2024-03-19 10:38:38 install python3-livereload:all
2.6.3-2 - 2024-03-19 10:38:38 install python3-colorama:all
0.4.6-2 - 2024-03-19 10:38:38 install python3-click:all
8.1.3-2 - 2024-03-19 10:38:38 install python3-joblib:all
1.2.0-4 - 2024-03-19 10:38:39 install python3-regex:armhf
0.1.20221031-1 - 2024-03-19 10:38:39 install python3-tqdm:all
4.64.1-1 - 2024-03-19 10:38:39 install python3-nltk:all
3.8-1 - 2024-03-19 10:38:40 install python3-lunr:all
0.6.2-2 - 2024-03-19 10:38:40 install sphinx-rtd-theme-common:all
1.2.0+dfsg-1 - 2024-03-19 10:38:40 install python3-markdown:all
3.4.1-2 - 2024-03-19 10:38:40 install python3-mergedeep:all
1.3.4-3 - 2024-03-19 10:38:40 install python3-yaml:armhf
6.0-3+b1 - 2024-03-19 10:38:41 install python3-pyyaml-env-tag:all
0.1-3 - 2024-03-19 10:38:41 install python3-watchdog:all
2.2.1-1 - 2024-03-19 10:38:41 install mkdocs:all
1.4.2+dfsg-2 - 2024-03-19 10:38:41 install node-jquery:all
3.6.1+dfsg+~3.5.14-1 - 2024-03-19 10:38:42 install python3-argcomplete:all
2.0.0-1 - 2024-03-19 10:38:42 install python3-userpath:all
1.8.0-1 - 2024-03-19 10:38:42 install pipx:all
1.1.0-1 - 2024-03-19 10:38:42 install python3-pyinotify:all
0.9.6-2 - 2024-03-19 10:38:43 install python3-simplejson:armhf
3.18.3-1 - 2024-03-19 10:42:57 install libjs-term.js:all
0.0.7-4 - 2024-03-19 10:42:57 install python3-ptyprocess:all
0.7.0-5 - 2024-03-19 10:42:57 install python3-terminado:all
0.17.0-1 - 2024-03-19 10:42:57 install python3-xstatic:all
1.0.0-7 - 2024-03-19 10:42:58 install python3-xstatic-term.js:all
0.0.7.0-4
tldr@chopchop:~ $ grep 'remove' /var/log/dpkg.log
- 2024-03-15 09:55:52 startup packages remove
- 2024-03-15 09:55:52 remove bat:armhf 0.22.1-4
tldr@chopchop:~ $sudo journalctl _COMM=systemd-login --output-fields=MESSAGE -S today -g "New session" | grep -v 'Boot'
tldr@chopchop:~ $sudo journalctl _COMM=groupadd -r --output-fields=MESSAGE
tldr@chopchop:~ $sudo journalctl _COMM=groupremove -r --output-fields=MES
tldr@chopchop:~ $sudo journalctl _COMM=usermod -r
tldr@chopchop:~ $sudo journalctl _COMM=userdel -r
tldr@chopchop:~ $sudo service --status-all
- [ - ] alsa-utils
- [ - ] apparmor
- [ + ] atop
- [ + ] atopacct
- [ + ] bluetooth
- [ - ] console-setup.sh
- [ + ] cron
- [ + ] cups
- [ + ] cups-browsed
- [ + ] dbus
- [ + ] dphys-swapfile
- [ + ] exim4
- [ + ] fake-hwclock
- [ - ] fcgiwrap
- [ - ] hwclock.sh
- [ - ] incron
- [ - ] keyboard-setup.sh
- [ + ] kmod
- [ + ] networking
- [ - ] nfs-common
- [ + ] nginx
- [ - ] paxctld
- [ - ] php7.4-fpm
- [ + ] php8.2-fpm
- [ + ] procps
- [ - ] pulseaudio-enable-autospawn
- [ + ] raspi-config
- [ + ] rng-tools-debian
- [ - ] rpcbind
- [ - ] rsync
- [ - ] saned
- [ + ] ssh
- [ - ] sudo
- [ + ] triggerhappy
- [ + ] udev
- [ - ] uuidd
- [ - ] x11-common
tldr@chopchop:~ $getent group
- root:x:0:
- daemon:x:1:
- bin:x:2:
- sys:x:3:
- adm:x:4:xpub
- tty:x:5:
- disk:x:6:
- lp:x:7:aleevadh,bernabereit,lorenzo,mania,mszw,mxrwho,river,senak,thijsoid,v,vitrinekast,wang,xpub,xpub,zerozeta,zz1,www-data
- mail:x:8:
- news:x:9:
- uucp:x:10:
- man:x:12:
- proxy:x:13:
- kmem:x:15:
- dialout:x:20:xpub,mb,river,joak,aleevadh,bernabereit,lorenzo,mania,mszw,mxrwho,river,senak,thijsoid,v,vitrinekast,wang,xpub,zerozeta,zz1,murtaugh,mb
- fax:x:21:
- voice:x:22:
- cdrom:x:24:xpub
- floppy:x:25:
- tape:x:26:
- sudo:x:27:joak,aleevadh,bernabereit,lorenzo,mania,mszw,mxrwho,river,senak,thijsoid,v,vitrinekast,wang,xpub,zerozeta,zz1,murtaugh,mb,strt,cristina,chipchip,killer
- audio:x:29:xpub,river,pulse,vitrinekast,liquidsoap
- dip:x:30:
- www-data:x:33:vitrinekast
- backup:x:34:
- operator:x:37:
- list:x:38:
- irc:x:39:
- src:x:40:
- gnats:x:41:
- shadow:x:42:
- utmp:x:43:
- video:x:44:xpub
- sasl:x:45:
- plugdev:x:46:xpub
- staff:x:50:
- games:x:60:xpub
- users:x:100:xpub,murtaugh,aleevadh,h4ck3r,mania,mszw,mxrwho,senak,v,wang,zerozeta,bernabereit,lorenzo,mb,river,thijsoid,vitrinekast,zz1,joak,cristina,strt,chipchip,killer,chef
- nogroup:x:65534:
- systemd-journal:x:101:
- systemd-network:x:102:
- systemd-resolve:x:103:
- input:x:104:xpub
- kvm:x:105:
- render:x:106:xpub
- crontab:x:107:
- netdev:x:108:xpub
- systemd-timesync:x:109:
- messagebus:x:110:
- bluetooth:x:112:
- avahi:x:113:
- spi:x:999:xpub
- i2c:x:998:xpub
- gpio:x:997:xpub
- systemd-coredump:x:996:
- xpub:x:1000:
- vitrinekast:x:1001:
- senak:x:1002:
- lorenzo:x:1003:
- mxrwho:x:1004:
- bernabereit:x:1005:
- river:x:1006:
- v:x:1007:
- mania:x:1008:
- aleevadh:x:1009:
- h4ck3r:x:1010:
- thijsoid:x:1011:
- mszw:x:1012:
- zerozeta:x:1013:
- wang:x:1014:
- zz1:x:1015:
- Debian-exim:x:114:
- rtkit:x:115:
- murtaugh:x:1017:
- mb:x:1016:
- pulse:x:116:
- pulse-access:x:117:
- mlocate:x:118:
- uuidd:x:119:
- joak:x:1018:
- sgx:x:120:
- plocate:x:121:
- polkitd:x:995:
- _ssh:x:111:
- pipewire:x:122:
- cristina:x:1019:
- strt:x:1020:
- incron:x:123:
- chipchip:x:1021:
- killer:x:1022:
- tcpdump:x:124:
- liquidsoap:x:125:
- lpadmin:x:126:river,xpub
- ssl-cert:x:127:
- scanner:x:128:saned
- saned:x:129:
- colord:x:130:
- chef:x:1023: