I did something similar a couple of years ago, but I just allowed SFTP and 
no shell.  I found the following link helpful.  I basically had to figure 
out what files were needed to run a mini-shell, and copy a complete set of 
files for each user.  Putting the copy commands into a shell script made the 
2nd user a bit quicker to set up.

http://gentoo-wiki.com/HOWTO_SFTP_Server_%28chrooted%2C_without_shell%29

Hope this helps.

-Gary


----- Original Message ----- 
From: "Jesse Spielman" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, July 02, 2007 1:48 PM
Subject: Chroot users into their own home folders


> Hello Everyone.
>
> This is my first post, and I'd like to apologize if this issue has
> been discussed before, but despite hours of my best googling I've been
> unable to find it.
>
> I'm trying to create a chroot jail for each user...most tutorials out
> there seem to be focused on blocking users from seeing the underlying
> OS, and this is great, but most of these tutorials build a chroot jail
> where all the chrooted users can still see each other's files.
>
> Is it possible using rssh or any other tool to lock each user in their
> own home folder where the root directory is their own home folder when
> logged in?
>
> Any help or pointers would be greatly appreciated.
>
> Thanks again, and have a great day!
> Jesse
>
> -- 
> Activate interlock! Dynotherms connected! Infracells up! Mega
> thrusters are go! LET'S GO VOLTRON FORCE!
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> rssh-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rssh-discuss
> 



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
rssh-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to