Juan Branco sans filtre ? Avant les présidentielles. [EN DIRECT]
vid{ed79a8d44ff37b44152ff5323b0fda2180046c840ae7de68cd6408c7389cc7ff}
— Permalink
vid{ed79a8d44ff37b44152ff5323b0fda2180046c840ae7de68cd6408c7389cc7ff}
— Permalink
For su
or sudo
to work, the rootfs has to be mounted suid
-- which is obvious when you know how it work or think about it. sudo
is nice enough to hint us at it, but sud
isn't.
Either way, when chroot
ing you need to make sure the partition holding your new root is not mounter nosuid
. Any user-mounted partition usually is (for fairly obvious security reasons I guess), so if you're plugging in a drive, make sure you mount it manually or remount it mount -o remount,suid
.
Then, su
and sudo
should work fine in the chroot (at least if you mounted all the bits like /proc
, /sys
, /dev
, /dev/pts
and al.).
Beware of shady stuff though, obviously.
Des tuiles OpenStreetMap vectorielles libres
Gratuites, sans inscription et anonymes
vid{f71c4fe5630c55cd60da23ea70458c3f4f35774a268643701e909efc3491093d}
— Permalink
vid{f71c4fe5630c55cd60da23ea70458c3f4f35774a268643701e909efc3491093d}
— Permalink