Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - sshd buildfile configuration, QNX7.0, x86_64-generic.build: (1 Item)
   
sshd buildfile configuration, QNX7.0, x86_64-generic.build  
Hi All:  Though this question has probably been dealt with many times, I cannot find the answer in any of the 
discussions nor documentation.

I'm trying to get sshd to start on boot.  I keep getting the message "sshd re-exec requires execution with an absolute 
path."  Once booted, I can start sshd from the command line with no problem.  But of course, I want it to start at boot.


Attached is the buildfile for the x86_64-generic.build file.  In it, we can see that the directories 
/var/chroot
/var/chroot/sshd

have been created, that a link to /usr/sbin/sshd was created, an entry for sshd user and group were created in /etc/
passwd and /etc/group, respectively, and there is an entry in the PAM configuration block for sshd (this last  was in 
the default configuration for the buildfile).  

I have tried starting /usr/sbin/sshd in a script (net-start.sh) and elsewhere.  Does anyone know what important step I 
left out?

Thanks very much for your help!
Attachment: Text x86_64-generic.build 23.76 KB