I want to login automatically at the boot sequence. Which file I have to change to boot the system without the system is asking for my user name and password?
Further I want to start automatically a application in Photon. I tried it with the $home/.ph/phapps file, but it doesn’t work.
just saw you’re a new member. don’t get lost at qnx’s knowledge base.
there’s just too many interesting stuff to read and hack upon. i love it. GOOD LUCK !
I’ve tried to put these strings into rc.local:
export LOGNAME=root
export HOME=/root
and executed chmod, but QNX 6.2.1 NC asked me for username and password.
What shoud I do to start as root without login prompt?
I’ve tried also to remark tinit in rc.sysinit. Then QNX displays after loading:
sh: j_init tcgetpgrp() failed: Inappropriate I/O control operation
sh: warning: won’t have full job control
What does it mean?
The tinit starts initial processes on several ttys. This can be configured by the /etc/config/ttys file. First try to start a “/bin/login -f root” on your /dev/con1…4 . Your /etc/config/ttys may look like:
…
…
con1 “/bin/login -f root” qansi-m on
…
…
On tty /dev/con1 you will see a shell without login.A simple “id” command
will show uid=0(root) gid=0(root) …
The second possibility is to start a shell “/bin/sh” on your tty and work with the login -f root in your rc.local.