View topic - mounting hd0t179

Page 1 of 1

mounting hd0t179

PostPosted: Wed Dec 19, 2018 7:39 am
by vishwa
1. Does hd0t179 necessary to be mounted on / (even for ssh) ?

2. How to get the root password of added users?

Thank you

Vishwa

Re: mounting hd0t179

PostPosted: Thu Dec 20, 2018 12:18 am
by maschoen
vishwa wrote:1. Does hd0t179 necessary to be mounted on / (even for ssh) ?


No, you can mount any device as / that has a file system on it. You could even mount a DOS partition.
Without the appropriate directories, eg /bin, you won't be able to do much.

2. How to get the root password of added users?


The encrypted passwords are stored in /etc/shadow. You cannot "get" them. If they are poor quality passwords, you might be able to get them using a brute force attack. If you have write access to /etc/password you can turn off a password for the user by erasing the 'x' in the ':x:' string, and then reset it.