How to get into single user mode

I installed linux-pam and it latched on the login via ssh and tty console.

I want to get into single user mode but when I edit kernel boot param I don’t know which param toads or remove.

Help

There are no run-levels in Clear Linux as it uses systemd not the classic SysV init. (process 1 is /usr/lib/systemd/systemd, not init).
But, the equivalent is the rescue target unit.

To get there:
Interrupt the boot at the part where you can choose your kernel.
Select the kernel you want to use and press ‘e’ to edit the kernel parameters at the bottom.
Remove the string “console=ttyS0.115200n8” and add in it’s place “systemd.unit=rescue.target”.
Press ‘Enter’.

2 Likes