[scponly] One Chroot Environment for all Users

Dan Gapinski dangapinski at qsi-r2.com
Thu Sep 25 17:58:54 EDT 2003


Open the /home/chroot/etc/passwd file 
Set the 6th entry to /home/user
Set the 7th entry to /usr/local/sbin/scponlyc (tells it which shell to use)

That should do it.
My best,
Dan
    
----- Original Message ----- 
From: "Patrick Klaus" <patrick.klaus at genion.de>
To: <scponly at lists.ccs.neu.edu>
Sent: Thursday, September 25, 2003 4:29 PM
Subject: [scponly] One Chroot Environment for all Users


> Hello List,
> 
> sorry for my bad English. :-/
> 
> In the documentation is the following mentioned:
> 
> - chroot: scponly can chroot to the user's home directory (OR ANY
> OTHER DIRECTORY THE USER HAS PERMISSON FOR), disallowing access
> to the rest of the filesystem.
> 
> I already have a chroot Environment for all of my Users:
> 
> /home/chroot/....
> 
> The users Home-Directorys are in /home/chroot/home/*
> 
> Where can I set the setting, that all the Users are chrooted
> into /home/chroot and not in their Home-Directory.
> 
> Thank you for any answer
> 
> Patrick Klaus
> 
> 
> _______________________________________________
> scponly mailing list
> scponly at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/scponly



More information about the scponly mailing list