I can access SHH just fine.
I can only move /var to its own partition on single user mode, as I can't stop all the writes from ssh access side.
Tried it already once, and it failed.
But this thread is no longer needed. Found the correct way to access single user mode. All the instructions fail on internet to mention, that you need to remove EVERYTHING after 'ro quiet' in the command line, and after that write init=/bin/bash; all the instructions just keep mentioning that add to the end of the line.
Original Message:
Sent: Oct 07, 2024 11:12 AM
From: parnassus
Subject: NetEdit Hardening - own partition for /tmp /var and so on
Hello! you wrote: "So we have Aruba NetEdit in use, and there is a demand to create hardening for it. Problem is that I would need to log in to Single User mode in the Debian VM" out of curiosity, why you need to gain Single User mode access at boot to harden the Aruba NetEdit appliance's Guest OS (Debian)? shouldn't be sufficient starting with an SSH access? have been you locked out maybe? I don't see any issue in performing a SSH logon on Aruba NetEdit's Guest OS...as long as you have the right credentials (set during the deployment of the appliance).
Original Message:
Sent: Oct 07, 2024 02:17 AM
From: kiiponen
Subject: NetEdit Hardening - own partition for /tmp /var and so on
Hi,
So we have Aruba NetEdit in use, and there is a demand to create hardening for it. Problem is that I would need to log in to Single User mode in the Debian VM, but all the instructions I have tried to log in as Single User mode does not work; all of them causes kernel panic. After trying several different commands in the GRUB, nothing works, I tried to just do the moving to new partitions while I was logged in normal operation mode. This really does not seem to go as planned, because can't stop writing to /var file for example, and when I do the move, it breaks the OS, and it won't start.
So, anyone have correct line to write in the GRUB to start correctly in single user mode?
Thanks.