No controlling tty


I created a QNX bootable CD. Started /bin/sh in rtinstall script. Shell starts but below messages are displayed.

“/bin/sh: No controlling tty (open /dev/tty: No such device or address)
/bin/sh: warning: won’t have full job control”

What should be done, prior starting the shell?


Usually you start tinit rather than the shell. Tinit then invokes the shell when the user logs in. … tinit.html

If you don’t do things that way then when you exit your shell it will be gone forever (ie no new shell / login).