I want to create small QNX RTP that uses less disk space, without Photon and
with specific hardware drivers and libraries only. But I want to have login
input at the end of the boot process. Now my .boot file log root directly
without prompt for login. My question is what I have to put in to my image
file to get login prompt for user name and password? Which files and
libraries I have to include and do I need set some variables, too?
I want to create small QNX RTP that uses less disk space, without Photon
and
with specific hardware drivers and libraries only. But I want to have
login
input at the end of the boot process. Now my .boot file log root directly
without prompt for login. My question is what I have to put in to my image
file to get login prompt for user name and password? Which files and
libraries I have to include and do I need set some variables, too?
You’ll want to include a shell (ksh or esh) and the program login. Check
out the help for login for more details (as you’ll need the password file
/etc/passwd, the shadow password file etc).
Hi,
instead of [+session] sh, use [+session] login in ur build file.
You’ll need to .profile, passwd, shadow(not sure abt opasswd & oshadow) &
shells in /etc
I want to create small QNX RTP that uses less disk space, without Photon
and
with specific hardware drivers and libraries only. But I want to have
login
input at the end of the boot process. Now my .boot file log root directly
without prompt for login. My question is what I have to put in to my image
file to get login prompt for user name and password? Which files and
libraries I have to include and do I need set some variables, too?
I suggest that you get your logins working first before you build mandatory
logins into your boot image. I.E. If you can’t login after a reboot, then
you can’t login in after a reboot, to fix it.
Hi,
instead of [+session] sh, use [+session] login in ur build file.
You’ll need to .profile, passwd, shadow(not sure abt opasswd & oshadow) &
shells in /etc