[scponly] Further // usage confusion ... possible bug ?

Ensel Sharon user at dhp.com
Thu Mar 30 12:53:47 EST 2006



On Thu, 30 Mar 2006, Kaleb Pederson wrote:

> On Thursday 30 March 2006 9:37 am, Ensel Sharon wrote:
> > Are you saying that if I do update my chroot passwd file, that I should be
> > able to scp without specifying the trailing username directory, even
> > though the chroot starts one level below that ?
> 
> Yes (I think).  If the user's home directory as specified by the passwd file 
> *within* the chroot is correct relative to the chroot, then a user shouldn't 
> have any problem scping directly to their home directory.
> 
> I have a cron script that runs nightly on my box that goes through and 
> regenerates the $chroot/etc/passwd file so that it's always accurate on my 
> box.


Can you show me the line of code that you run out of cron (that syncs the
two passwd files) ?

Thanks a lot.




More information about the scponly mailing list