Oleg Bolshakov
|
Re: Phindows doesn't start Photon when using initial command to start after login in passwd file
|
Oleg Bolshakov
09/16/2013 9:36 AM
post105130
|
Re: Phindows doesn't start Photon when using initial command to start after login in passwd file
Hi Louis,
New version of software should be handier but I noticed that even small update may lead into trouble. :)
One possible way to get that you ask is adding the following script (fake_sac) instead of sac in /etc/passwd:
----
#!/bin/sh
if [ $1"m" != "m" ]; then
exec /bin/sh "$@"
else
exec /usr/bin/sac
fi
----
Respectfully,
Oleg
16.09.2013, в 16:53:52, Louis Francoeur написал(а):
> Hi Oleg,
>
> What you explained is true, I can use $HOME/.photon/phapps utility. But I still have a problem:
> I want to be able to start a program even if I access from Photon or from Telnet with the same login.
>
> Now with $HOME/.photon/phapps utility active, my program is started from Photon but not from Telnet. If I add my
program in /etc/passwd (for example: jd213:x:105:100:John Doe:/home/jd213:/bin/program), Telnet is working fine but not
Photon anymore (close the Window right away).
>
> Is there a way to be able to automaticly start a program even from Photon or Telnet without creating 2 different
logins in Photon 1.14 (curiously, it was working in Photon 1.13)?
>
> Thank you
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post105128
> To cancel your subscription to this discussion, please e-mail qnx4-community-unsubscribe@community.qnx.com
|
|
|