[Smaug] Login jail...

Josh Neal josh at unixmercenary.net
Thu, 4 Jul 2002 14:24:45 -0700


On Wed, Jul 03, 2002 at 11:38:08AM -0700, Paul Thomas wrote:
> 
> Hi,
> 
> Is there a handy way of restricting ssh/ftp logins to a
> particular directory tree without getting into virtual file
> systems?
> 
> I just need to allow some logins and would like these people 
> to stay in their own area, don't need to change / for applications.

Paul -

You could try using pam_chroot as described here:

http://archives.neohapsis.com/archives/sf/linux/2001-q4/0197.html

-josh

-- 
Josh Neal
"I would kill everyone in this room for a drop of sweet beer."
	-- Homer Simpson