User Tools

Site Tools


linux:reset-root-password

Reset root Password Linux

Berikut ini adalah cara mereset root passwd linux

Almalinux 8/9

mount /dev/sda4 /mnt/

mount --bind /dev /mnt/dev
mount --bind /dev/pts /mnt/dev/pts
mount --bind /dev/shm /mnt/dev/shm
mount -t proc none /mnt/proc
mount -t sysfs none /mnt/sys
chroot /mnt/

passwd


touch /.autorelabel

exit

umount  /mnt/sys
umount /mnt/proc
umount  /mnt/dev/pts
umount  /mnt/dev/shm
umount /mnt/dev

reboot

Layanan

Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |
linux/reset-root-password.txt · Last modified: 2024/06/21 09:59 by kbadmin

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki