Chroot: Revision history

Jump to: navigation, search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

21 August 2024

  • curprev 14:4314:43, 21 August 2024Ardika Sulistija talk contribs 2,627 bytes +2,627 Created page with "* Very important to bind /dev since the passwd command makes use of /dev/random which needs to actually exist Robert's way (This example shows how to change a password while chrooted): (all sudo) mount /dev/xvdf1 /mnt mount -o bind /proc /mnt/proc mount -o bind /sys /mnt/sys mount -o bind /dev /mnt/dev mount -o bind /run /mnt/run #This one was recommended but I didn't end up using it chroot /mnt passwd [username] exit umount /mnt/{dev,sys,proc} umo..."