HARI KRISHNAN G(deleted)
|
Regarding the login profiles not invoked
|
HARI KRISHNAN G(deleted)
09/21/2022 12:22 AM
post121927
|
Regarding the login profiles not invoked
Hi, I am using the QNX for our project. Actually I downloaded the QNX from QNX Software Center and Flashing the OS into
memory card. In the profile generation build file, I did some additions
in /etc/profile file, I added one echo statement and changed the PATH variables depending on the target.
in /root/.profile file I added the ENV for setting the path of .kshrc file with echo statement and also executing the
script.
After flashing this configuration, I put the SD card into target and turn on. While it is booting, It actually goes the
"Non-login shell (sh)".So only /etc/profle executes and that acho prints on terminal [ according to the non login shell
this is correct ]
When I try to root login, that time also etc/profile executes and that echo printed. After this, according the "login
shell policy" it automatically calls the /root/.profile and .kshrc file. But /root/.prifile not executed automatically
and only /etc/profile executed.
Can you help me for how to solve this this issue? or Is there any other modifications are needed for that automatic call
?
|
|
|