$ systemctl is-system-running --wait [rc=0] running $ systemctl --failed --no-legend [rc=0] $ systemctl is-enabled aidecheck.timer dailyaidecheck.timer 2>&1; systemctl list-timers --all --no-legend 2>/dev/null | grep -i aide [rc=0] enabled masked Thu 2026-11-19 05:00:00 UTC 3h 13min - - aidecheck.timer aidecheck.service $ systemctl is-active ttn-firstboot.service; sudo test -f /var/lib/ttn/firstboot.done && echo firstboot.done [rc=0] active firstboot.done $ sudo test -s /boot/grub2/user.cfg && echo user.cfg-OK; G=/boot/grub2; sudo test -f $G/grub.cfg || G=/boot/grub; echo grubdir=$G; sudo grep -c '^\s*set superusers=' $G/grub.cfg [rc=0] grubdir=/boot/grub2 1 $ findmnt /tmp [rc=0] TARGET SOURCE FSTYPE OPTIONS /tmp tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=4063720k,nr_inodes=1048576,inode64 $ if command -v getenforce >/dev/null; then getenforce; else sudo aa-status --enabled && echo apparmor-enabled; sudo aa-status 2>/dev/null | head -4; fi [rc=0] apparmor-enabled apparmor module is loaded. 112 profiles are loaded. 13 profiles are in enforce mode. /usr/bin/man $ if command -v firewall-cmd >/dev/null; then sudo firewall-cmd --state; sudo firewall-cmd --list-all; else sudo ufw status verbose; fi [rc=0] Status: active Logging: on (low) Default: deny (incoming), allow (outgoing), disabled (routed) New profiles: skip To Action From -- ------ ---- 22/tcp ALLOW IN Anywhere 25 on lo ALLOW IN Anywhere # ttn: loopback-only listener 323 on lo ALLOW IN Anywhere # ttn: loopback-only listener 53 on lo ALLOW IN Anywhere # ttn: loopback-only listener 68/udp ALLOW IN 67/udp # ttn: DHCP client (already allowed by before.rules) 22/tcp (v6) ALLOW IN Anywhere (v6) 25 (v6) on lo ALLOW IN Anywhere (v6) # ttn: loopback-only listener 323 (v6) on lo ALLOW IN Anywhere (v6) # ttn: loopback-only listener 53 (v6) on lo ALLOW IN Anywhere (v6) # ttn: loopback-only listener 68/udp (v6) ALLOW IN 67/udp (v6) # ttn: DHCP client (already allowed by before.rules) $ id ttnadmin [rc=0] uid=1001(ttnadmin) gid=1001(ttnadmin) groups=1001(ttnadmin),4(adm),30(dip),44(video),46(plugdev),1000(google-sudoers),1004(sshusers) $ sudo sshd -T | grep -Ei '^(permitrootlogin|passwordauthentication|allowgroups)' [rc=0] permitrootlogin no passwordauthentication no allowgroups sshusers $ sudo passwd -S root; sudo chage -l root | head -3 [rc=0] root L 2026-11-16 0 99999 7 -1 Last password change : Nov 16, 2026 Password expires : never Password inactive : never $ systemctl is-active rsyslog; journalctl --disk-usage [rc=0] inactive Archived and active journals take up 16M in the file system. $ sudo ls /etc/ssh/ssh_host_*_key.pub [rc=0] /etc/ssh/ssh_host_ecdsa_key.pub /etc/ssh/ssh_host_ed25519_key.pub /etc/ssh/ssh_host_rsa_key.pub $ cat /etc/machine-id [rc=0] fe17a95b63b647ad844cc82a923b05a9 $ for c in ttn-audit ttn-cis-audit; do sudo test -x /usr/local/sbin/$c && echo $c-OK || echo $c-MISSING; sudo sh -c "command -v $c" >/dev/null && echo $c-sudo-path-OK || echo $c-sudo-path-MISSING; done [rc=0] ttn-audit-OK ttn-audit-sudo-path-OK ttn-cis-audit-OK ttn-cis-audit-sudo-path-OK $ systemctl is-active google-guest-agent; if command -v rpm >/dev/null; then rpm -q google-guest-agent google-compute-engine-oslogin 2>&1; else dpkg-query -W google-guest-agent google-compute-engine-oslogin 2>&1; fi [rc=0] active google-compute-engine-oslogin 1:20260924.00-g1+deb13 google-guest-agent 1:20261021.00-g1 $ systemctl is-active google-osconfig-agent; sudo journalctl -u google-osconfig-agent -b --no-pager 2>&1 | tail -3; head -3 /usr/share/doc/ttn-hardened/osconfig-rebuild.txt 2>&1 [rc=1] active Nov 19 01:42:00 packer-6afe4fbc-0712-185d-1add-244f9437b428 systemd[1]: Started google-osconfig-agent.service - Google OSConfig Agent. Nov 19 01:42:18 ttn-boottest-1795052493-d1fb OSConfigAgent[703]: 2026-11-19T01:42:18.3830Z OSConfigAgent Info: OSConfig Agent (version 20261112.01-ttn1) started. head: cannot open '/usr/share/doc/ttn-hardened/osconfig-rebuild.txt' for reading: Permission denied $ systemctl is-active google-guest-agent-manager google-guest-compat-manager google-guest-agent 2>&1; head -4 /usr/share/doc/ttn-hardened/guest-agent-rebuild.txt 2>&1; for f in /usr/bin/google_guest_agent /usr/bin/google_guest_agent_manager /usr/bin/google_guest_compat_manager /usr/bin/ggactl_plugin /usr/lib/google/guest_agent/GuestAgentCorePlugin/core_plugin /usr/bin/google_osconfig_agent; do echo "$f $(LC_ALL=C grep -aoE 'go1\.[0-9]+\.[0-9]+' $f | sort | uniq -c | sort -rn | head -1 | awk '{print $2}')"; done [rc=0] active active active head: cannot open '/usr/share/doc/ttn-hardened/guest-agent-rebuild.txt' for reading: Permission denied /usr/bin/google_guest_agent go1.27.4 /usr/bin/google_guest_agent_manager go1.27.4 /usr/bin/google_guest_compat_manager go1.27.4 /usr/bin/ggactl_plugin go1.27.4 /usr/lib/google/guest_agent/GuestAgentCorePlugin/core_plugin go1.27.4 /usr/bin/google_osconfig_agent go1.27.4 $ id -nG ttnadmin; getent group docker lxd 2>&1; command -v docker lxc 2>&1 || echo no-docker-no-lxd [rc=0] ttnadmin adm dip video plugdev google-sudoers sshusers no-docker-no-lxd $ sed -n '/^\[Accounts\]/,/^\[/p' /etc/default/instance_configs.cfg [rc=0] [Accounts] groups = adm,dip,plugdev,video,sshusers deprovision_remove = false gpasswd_add_cmd = gpasswd -a {user} {group} gpasswd_remove_cmd = gpasswd -d {user} {group} groupadd_cmd = groupadd {group} useradd_cmd = useradd -m -s /bin/bash -p * {user} userdel_cmd = userdel -r {user} [Daemons] $ id packer 2>&1; sudo passwd -S packer 2>&1; sudo ls -la /home/packer/.ssh 2>&1 | head -5 [rc=0] uid=1000(packer) gid=1003(packer) groups=1003(packer),4(adm),30(dip),44(video),46(plugdev),1004(sshusers) packer L 2026-11-19 0 99999 7 -1 total 8 drwx------ 2 packer packer 4096 Nov 19 01:42 . drwx------ 4 packer packer 4096 Nov 19 01:39 .. -rw------- 1 packer packer 0 Nov 19 01:42 authorized_keys $ curl -s -H 'Metadata-Flavor: Google' http://169.254.169.254/computeMetadata/v1/instance/zone; echo [rc=0] projects/888617657/zones/us-central1-a $ free -m; sudo journalctl -k -b --no-pager | grep -iE 'out of memory|oom-kill|killed process' || echo no-oom-in-kernel-log [rc=0] total used free shared buff/cache available Mem: 7936 459 5392 0 2281 7477 Swap: 0 0 0 no-oom-in-kernel-log $ systemd-analyze 2>&1 | head -3; for u in $(systemctl list-units 'ttn-*' --all --no-legend --plain | awk '{print $1}'); do echo "$u $(systemctl show $u -p ActiveState -p Result -p ExecMainStartTimestamp -p ExecMainExitTimestamp --value | tr '\n' ' ')"; done [rc=0] Startup finished in 1.313s (kernel) + 4min 43.326s (userspace) = 4min 44.639s graphical.target reached after 4min 43.325s in userspace. ttn-gce-oslogin.path success active ttn-shadow-perms.path success active ttn-firstboot-late.service success Thu 2026-11-19 01:42:10 UTC Thu 2026-11-19 01:46:38 UTC active ttn-firstboot.service success Thu 2026-11-19 01:41:59 UTC Thu 2026-11-19 01:42:21 UTC active ttn-gce-oslogin.service success Thu 2026-11-19 01:42:21 UTC Thu 2026-11-19 01:42:21 UTC inactive ttn-shadow-perms.service success Thu 2026-11-19 01:42:19 UTC Thu 2026-11-19 01:42:23 UTC inactive