[scponly] helper.c compile error
David Yee
dyee at AMSResponse.com
Mon Jan 13 12:17:22 EST 2003
Fred- the binary is created but it doesn't chroot the user (when I tried
with WinSCP 2.0), and when I ssh in I get:
WinSCP: this is end-of-file:0
David
> -----Original Message-----
> From: Fred Hopper [mailto:fhopper at cards.ca]
> Sent: Monday, January 13, 2003 11:51 AM
> To: dyee at AMSResponse.com; scponly at lists.ccs.neu.edu
> Subject: Re: [scponly] helper.c compile error
>
>
> David, can you tell us if scponly is working for you? I
> also used the "--enable-chrooted-binary " option and got the
> same warning message as you, but it still created the
> scponlyc binary (just as Sven suggested there would be).
>
> Problem is, when I set the default shell for my scp user
> account, scp stops working. Am using RedHat 7.3
> (kernel-2.4.18). SSH shell access does not work, which is
> good. But I do want scp to work. My ftp chroot setup is
> configured OK and works fine.
>
> Any ideas anyone? scponly will be really useful for us once
> I get it working....
>
> Thanks, Fred
>
> >>> David Yee <dyee at AMSResponse.com> 01/13/03 12:25PM >>>
> Hi- I tried to compile scponly 3.5 on Red Hat Linux with
> 2.4.2-2 kernel and
> got the following error:
>
> gcc -g -O2 -DHAVE_CONFIG_H
> -DDEBUGFILE='"/usr/local/etc/scponly/debuglevel"'
> -o scponly scponly.c helper.c
> helper.c: In function `flatten_vector':
> helper.c:76: warning: assignment makes integer from pointer
> without a cast
> helper.c: In function `build_arg_vector':
> helper.c:167: warning: assignment makes integer from pointer
> without a cast
>
>
More information about the scponly
mailing list