Add screen and tmux fix menu exit behavior

This commit is contained in:
2026-10-01 20:35:53 +03:00
parent 56224b8e38
commit 1938705e00
4 changed files with 74 additions and 10 deletions
+4 -2
View File
@@ -23,6 +23,8 @@ sudo ./build.sh
The output is `build/ep-eraser-amd64.hybrid.iso`. Write it to a USB drive with a tool such as Rufus or `dd`. Verify the output checksum before deployment.
The GRUB boot menu waits 5 seconds before starting the live system.
To build without installing packages on the host, use Docker from Linux or WSL:
```sh
@@ -56,9 +58,9 @@ To build the OVA in Docker, use `docker run --rm -v "$PWD:/work" --entrypoint /w
Boot the target machine from the image, inspect the disk list, and choose the exact device path. The program detects rotational media and presents the appropriate operation. Reboot after completion; do not remove the USB device until the result is shown.
Choose `nwipe` from the startup menu to use its interactive interface. Its PDF certificates are saved under `/var/log/ep-eraser/reports`; copy them to persistent storage before rebooting because the live system's filesystem is temporary. Press `c` in nwipe to edit certificate details such as company, customer, and host information. Those settings are also temporary unless included in the image.
Choose **Programs** from the startup menu to open `nwipe` or a root Bash shell. `tmux` and `screen` are installed for use from Bash. Nwipe's PDF certificates are saved under `/var/log/ep-eraser/reports`; copy them to persistent storage before rebooting because the live system's filesystem is temporary. Press `c` in nwipe to edit certificate details such as company, customer, and host information. Those settings are also temporary unless included in the image.
The supplied `config/includes.chroot/etc/nwipe/eternity-project-logo.svg` is converted to `logo.jpg` during image preparation for nwipe PDF certificates. The same logo is rendered as a colored startup screen above the tty1 menu. Nwipe is built from upstream v0.42 and uses `/etc/nwipe/logo.jpg` for PDF branding. You can include `/etc/nwipe/nwipe.conf` in `config/includes.chroot` to ship default certificate settings.
The supplied `config/includes.chroot/etc/nwipe/eternity-project-logo.svg` has a generated `logo.jpg` alongside it for nwipe PDF certificates. The same JPEG is rendered as a colored startup screen above the tty1 menu. Nwipe is built from upstream v0.42 and uses `/etc/nwipe/logo.jpg` for PDF branding. You can include `/etc/nwipe/nwipe.conf` in `config/includes.chroot` to ship default certificate settings.
NetworkManager provides network connectivity; wired Ethernet uses DHCP automatically, and Wi-Fi can be configured with `nmcli device wifi list` followed by `nmcli device wifi connect "SSID" --ask`. The image starts SSH and Telnet servers for the `eraser` account with password `eperaser`; root SSH login is disabled. The account can run only the EP Eraser and nwipe programs through passwordless `sudo`, for example `sudo -n /usr/local/sbin/ep-eraser` or `sudo -n /usr/local/bin/nwipe`.