John Spring
|
sshd buildfile configuration, QNX7.0, x86_64-generic.build
|
John Spring
06/18/2019 2:59 AM
post119761
|
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!
|
|
|