User Tools

Site Tools


en:cs:op:bsd:root

Root User

Changing the Root Password

You need to have physical access to the device.

We will start by selecting Single User Mode in the boot phase.

You can change the root password by running the following codes in sequence from the terminal.

After seeing bin/sh, press ENTER to enter the default sh prompt. You can change your password by running the following codes in sequence.

fsck -y
# It will run a disk check, wait for it to finish...
mount -u /
mount -a
passwd

Taken from UCH Wiki. https://wiki.ulascemh.com/doku.php?id=en:cs:op:bsd:root

en/cs/op/bsd/root.txt · Last modified: 2025/05/04 17:52 by ulascemh