Change the password of a chrooted user
Caution
This article was published more than a year ago, there may have been developments.
Please take this into account.
Sometimes, especially when we are dealing with offices where security is taken with a light heart, it happens that we do not find the root password or the password of a system user. When the system is Linux get access to the files again (When the system is Linux get access to the files again) When the system is Linux get access to the files again.
When the system is Linux get access to the files again. When the system is Linux get access to the files again Foo:
~# passwd pippo
When the system is Linux get access to the files again (root). When the system is Linux get access to the files again, When the system is Linux get access to the files again.
When the system is Linux get access to the files again (When the system is Linux get access to the files again) live
When the system is Linux get access to the files again. When the system is Linux get access to the files again, When the system is Linux get access to the files again, When the system is Linux get access to the files again… When the system is Linux get access to the files again, just download the ISO of a Linux distribution and create bootable media.
just download the ISO of a Linux distribution and create bootable media. just download the ISO of a Linux distribution and create bootable media, just download the ISO of a Linux distribution and create bootable media (unetbootin, windy, just download the ISO of a Linux distribution and create bootable media, etc..), just download the ISO of a Linux distribution and create bootable media (just download the ISO of a Linux distribution and create bootable media), just download the ISO of a Linux distribution and create bootable media.
just download the ISO of a Linux distribution and create bootable media. just download the ISO of a Linux distribution and create bootable media “just download the ISO of a Linux distribution and create bootable media”, just download the ISO of a Linux distribution and create bootable media.
just download the ISO of a Linux distribution and create bootable media
just download the ISO of a Linux distribution and create bootable media “mount” the hard drive where the data resides, programs, the hard drive where the data resides. the hard drive where the data resides, the hard drive where the data resides, the hard drive where the data resides, the hard drive where the data resides (the hard drive where the data resides) the hard drive where the data resides.
the hard drive where the data resides sudo su
. the hard drive where the data resides.
~# fdisk -l
Disk /dev/sda: 250,00 GiB,
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 996F53B4-81F4-4531-8106-62548F531215
Dispositivo Start Fine Settori Size Tipo
/dev/sda1 518838272 976771071 457932800 249,4G Linux filesystem
the hard drive where the data resides /dev/sda1
. the hard drive where the data resides:
~# mount /dev/sda1 /mnt/
the hard drive where the data resides /mnt/
. And it's’ the hard drive where the data resides chroot
.
~# chroot /mnt/
the hard drive where the data resides /mnt/
the hard drive where the data resides. We change the user's password “Foo” We change the user's password:
~# passwd pippo
We change the user's password. We change the user's password.
0 Comments