Hi Folks,
I didn't see the original message so I'm responding to this one.  
Regarding giving access to file systems outside the chroot, you can 
remount them inside the chroot. 
For example:
- your chroot is at /var/chroot
- you have a separate partition mounted on /mnt/external
- you want chrooted users to have access to /mnt/external/blah

you can do:
mkdir /var/chroot/mnt/blah
mount --bind /mnt/external/blah /var/chroot/mnt/blah
According to mount man page, --bind option is supported in linux kernels 
2.4.0+

to see the appropriate entry to add to fstab (to do the mount 
automatically after reboot), you can do
cat /etc/mtab

Cheers,

Ryan McKay
IT Director
Realtour.biz



Boniol, Paul F wrote:
> You would have to set up a separate jail to do this with RSSH.  I have
> never needed to have multiple jails, so I can't say how this would work.
>
>
> In response to a separate question, on September 4, Derek Martin wrote
> "The best you can do is to set up one jail per user, which is generally
> horrible, but documented in the rssh documentation."  Without research I
> can't say if you can do one jail for most and a separate jail for one
> particular user or not.  It's a place to start looking.
>
> Paul Boniol
>
> ________________________________
>
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Clayton
> Dukes
> Sent: Tuesday, September 11, 2007 5:02 PM
> To: [email protected]
> Subject: Allowing access to symbolically linked directory
>
>
> This is probably a dumb question since it defeats the purpose of a
> chroot jail but...
>
> I've got rssh set up and working fine for sftp but is there a way to
> give the user access to a directory mounted on another disk? 
>
> Thanks!
>
>   

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
rssh-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to