Skip navigation.
Home
The QNX Community Portal

View topic - How to set Root Password

How to set Root Password

For the old QNX2 and QNX4 RTOS

How to set Root Password

Postby bhaskara-r » Mon Aug 10, 2015 12:21 pm

hi i want to know How to set the ROOT Password While my QNX OS Booting ?

After OS boots i can set using Passwd utility. But i need to know the how to set the OS Password during the OS Boot up.
bhaskara-r
Active Member
 
Posts: 44
Joined: Tue Jul 22, 2014 10:55 am

Re: How to set Root Password

Postby denkelly » Thu Aug 13, 2015 12:24 pm

If root has a password, you can try this:

[+session] /bin/login -f root &

If you actually put the root password in the bootscript, it would likely be readable in the plaintext strings from "cat /proc/boot/.script".
denkelly
Senior Member
 
Posts: 160
Joined: Sat Aug 02, 2008 3:27 pm

Re: How to set Root Password

Postby maschoen » Fri Aug 14, 2015 1:49 am

I'm rather confused about what you are asking. When the OS is booting, by definition, you can't do anything. Booting is the process where the BIOS initializes hardware, loads the OS and then the OS starts it's own initialization. By the time you can do something, it's not booting anymore.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm


Return to QNX2 and QNX4

Who is online

Users browsing this forum: No registered users and 2 guests