[Voyage-linux] sshd in voyage 5.2
Jeff Ramin
(spam-protected)
Tue Mar 24 05:06:25 HKT 2009
Can somebody suggest a fix for this problem? My plan
was to modify /var/run/sshd before building the image
for the flash drive, but that file doesn't exist at image
creation time. Apparently it is created at boot time.
My current workaround is to modify that file from rc.local
so that sshd can start, but this requires that I access the
machine via the console after the initial boot. I want an
image that I can ssh to immediately, without having to
access the console.
Thanks.
Jeff Ramin wrote:
> Nick L. wrote:
>>
>>
>> On Mon, Mar 23, 2009 at 10:34 AM, Jeff Ramin
>> <jeff.ramin at singlewire.com <mailto:jeff.ramin at singlewire.com>> wrote:
>>
>>
>> It seems sshd does not start as configured at boot time,
>> because the ownership and permissions of /var/run/sshd
>> are not set properly.
>>
>> Has anybody else seen this behavior? Is it a known bug?
>>
>> Thanks.
>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk <mailto:Voyage-linux at list.voyage.hk>
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
>>
>> It happens if you install to media as a normal user. Use the Voyage
>> install script as root and all should be well. sshd needs to run as
>> root if I recall correctly.
>
> I'm fairly certain I ran the script as root...yes, I just checked
> .bash_history, and it was run as root.
>
More information about the Voyage-linux
mailing list