Benign raspios Download

arm64-img/2026-09-15-raspios-trixie-arm64.img/2026-09-15-raspios-trixie-arm64.img.d/1.img.d/usr/bin

References a systemd ExecStart directiveSystemd unit declares a WantedBy startup target
SHA-256d2c5772bcec7b1ef7a08eeb35656506828345167269ceed2e34c7e320d30dd2a

Evidence

Parenthesized shell command string lines 1–15
1#!/bin/bash
2
3INIT="$(ps --no-headers -o comm 1)"
4
5if [ "$(id -u)" != "0" ]; then
6 echo "Please run with 'sudo': sudo cancel-rename USER" >&2
7 exit 1
8fi
⋯7 lines
Server provisioning enables or starts a service lines 16–51
⋯4 lines
20 fi
21
22 # remove the autostart for the wizard
23 rm -f /etc/xdg/autostart/piwiz.desktop
24
25 # set up a self-deleting service to delete the wizard user
26 cat <<- 'EOF' > /etc/systemd/system/del-wizard.service
27 [Unit]
28 Description=Delete rpi-first-boot-wizard user
⋯5 lines
34 RemainAfterExit=no
35 ExecStartPre=/usr/bin/sleep 30
36 ExecStart=/usr/sbin/userdel -r rpi-first-boot-wizard
37 ExecStartPost=/usr/bin/rm -f /etc/sudoers.d/010_wiz-nopasswd
38 ExecStartPost=/usr/bin/systemctl disable del-wizard.service
39 ExecStartPost=/usr/bin/rm -f /etc/systemd/system/del-wizard.service
40 ExecStartPost=/usr/bin/systemctl daemon-reload
41 SuccessExitStatus=6
42 Restart=on-failure
43 RestartSec=30
44
45 [Install]
46 WantedBy=multi-user.target
47 EOF
48 systemctl enable --now --no-block del-wizard.service
49else
50 if [ -f /var/lib/userconf-pi/autologin ]; then
51 SUDO_USER="$1" raspi-config …
SSH daemon configuration file lines 59–71
59:4… rmdir --ignore-fail-on-non-empty /var/lib/userconf-pi
60fi
61rm -f /etc/ssh/sshd_config.d/rename_user.conf
62
63systemctl --quiet disable userconfig
64systemctl --quiet enable getty@tty1
65
66if [ "$INIT" = "systemd" ]; then
67 if systemctl --quiet is-active ssh; then
68 systemctl --quiet reload ssh
69 fi
70 systemctl --quiet --no-block start getty@tty1
71fi

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.