Hi,
I would like to be able to login into the QNX system without having to
type-in my username. I know tinit controls the login utility, but I am not
able to log automatically upon bootup.
I tried to write a one line shell script that will echo “root” at the login
prompt, but I dont know the shell script command for “enter” which will
cause login to accept “root” as username…
Can someone please help?
Thanks
Anup
Anup B Katake <anup@tamu.edu> wrote:
Hi,
I would like to be able to login into the QNX system without having to
type-in my username. I know tinit controls the login utility, but I am not
able to log automatically upon bootup.
I tried to write a one line shell script that will echo “root” at the login
prompt, but I dont know the shell script command for “enter” which will
cause login to accept “root” as username…
Can someone please help?
Thanks
don’t launch tinit in sysinit but sh instead (you will be root).
See sysinit on qnx boot disk
Anup
Is it an embedded system? Do you need to log in at all?
On the systems we design we let tinit just start a shell (with the -c
option).
Anup B Katake <anup@tamu.edu> wrote in message
news:983gn4$rq6$1@inn.qnx.com…
Hi,
I would like to be able to login into the QNX system without having to
type-in my username. I know tinit controls the login utility, but I am not
able to log automatically upon bootup.
I tried to write a one line shell script that will echo “root” at the
login
prompt, but I dont know the shell script command for “enter” which will
cause login to accept “root” as username…
Can someone please help?
Thanks
Anup
\
For QNX 6.0 try ‘on’, e.g. starting a console as root on /dev/con1
‘on -t /dev/con1 -l /root’.
\
Thomas Nittel
mailto:Thomas.Nittel@t-online.de