PART 2: checking how to reset sudo and root password on Ubuntu 21.04

Karl Auer kauer at biplane.com.au
Sat Oct 15 06:32:20 UTC 2022


On Sat, 2022-10-15 at 07:09 +0200, M. Fioretti wrote:
> Hello all, with many thanks to everybody who already answered

Here is an alternative, perhaps.

Take the disk out of the computer, put it in a USB enclosure, attach it
to a different (Linux) computer, run those scripts you mentioned as
root, and copy whatever you need off the drive.

Alternatively alternatively you could VERY CAREFULLY :-) run "chown -R
root:root" on the attached drive before putting it back where it came
from.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer

GPG fingerprint: 61A0 99A9 8823 3A75 871E 5D90 BADB B237 260C 9C58
Old fingerprint: 2561 E9EC D868 E73C 8AF1 49CF EE50 4B1D CCA1 5170






More information about the ubuntu-users mailing list