[scponly] can't start sftp-server on Fedora Core 5

Kaleb Pederson kpederson at mail.ewu.edu
Thu Mar 30 18:05:45 EST 2006


In looking at the additional files you e-mailed me:

...
open("/dev/null", O_RDWR|O_LARGEFILE)   = -1 EACCES (Permission denied)
write(2, "Couldn\'t open /dev/null: Permiss"..., 42) = 42

You should probably fix permissions on /dev/null.

I'm not running selinux, nor have I played with it yet, but it's definitely 
trying to use it:

...
open("/etc/selinux/targeted/seusers", O_RDONLY|O_LARGEFILE) = 8
...
open("/selinux/user", O_RDWR|O_LARGEFILE) = 8
...
open("/proc/self/attr/current", O_RDONLY|O_LARGEFILE) = 6
read(6, "system_u:system_r:unconfined_t:s"..., 4095) = 45
...

It doesn't look like it's causing any problems... but I'm not positive there.

Try that and let us know.

Thanks.

--Kaleb



On Thursday 30 March 2006 1:24 pm, Claude Jones wrote:
> On Thu March 30 2006 13:15, Kaleb Pederson wrote:
> > Hmmm... everything looks good there.  So, it looks like your
> > chroot and scponly are configured properly and the sftp-server
> > within the chroot is having problems.  You'll need to strace
> > the process.
> >
> > Details on how to do this are here:
> >
> > https://lists.ccs.neu.edu/pipermail/scponly/2005-July/000885.ht
> >ml
>
> I followed your instructions and got a lot of output, but I can't
> make heads or tails out of it.
> Rather than put that long log in this reply, I put it here:
>
> www.levitjames.com/temp/scponly.html
>
> Any clues you can spot?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : https://lists.ccs.neu.edu/pipermail/scponly/attachments/20060330/33778546/attachment.bin


More information about the scponly mailing list