[scponly] chroot fails without warning - everything still works

Fred Fiat fred.fiat at inbox.com
Sun Jun 18 06:31:43 EDT 2006


> Actually, I notice one difference.  I have 'scponlyc' as the firs
> argument,
> you have '/usr/local/sbin/scponlyc'.  The comparison happens as follows:
> 
> strncmp(argv[0],CHROOTED_NAME,FILENAME_MAX))
> 
> So, that would be the problem.  You would have to
> have /usr/local/sbin/scponlyc as your CHROOTED_NAME for it to match.

Aha! You are a genius! It works.. thanks!

____________________________________________________________
Inbox.com Photos - Share your photos with your friends and family!
Visit http://www.inbox.com/photosharing to find out more!



More information about the scponly mailing list