View topic - mounting hd0t179

mounting hd0t179

QNX7 release

mounting hd0t179

Postby vishwa » Wed Dec 19, 2018 7:39 am

1. Does hd0t179 necessary to be mounted on / (even for ssh) ?

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

Thank you

Vishwa
vishwa
New Member
 
Posts: 4
Joined: Fri Sep 15, 2017 7:50 am

Re: mounting hd0t179

Postby maschoen » Thu Dec 20, 2018 12:18 am

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.
maschoen
QNX Master
 
Posts: 2712
Joined: Wed Jun 25, 2003 5:18 pm


Return to QNX7

Who is online

Users browsing this forum: Google Adsense [Bot] and 3 guests