Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 2003 11:06:30 +0100 (MET)
From:      Oliver Bantke <Oliver.Bantke@gmx.de>
To:        freebsd-questions@freebsd.org
Cc:        jay@sendtech.net
Subject:   Re: restricting user's directory listing and changing
Message-ID:  <12634.1044093990@www42.gmx.net>
References:  <1044035168.3e3ab660cc8d5@horde-send.sendtech.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> Greetings.
> 
>      Basically, I have this group of users, that I give SSH/SFTP access,
> but I
> don't want them to be able to see the complete file hierarchy and ``cd''
> to
> them. I just want a user to be able to access the user's home, and that's
> it. 
> 
>      I looked up some docs on the shell(tcsh) and sshd, but didn't find
> anything
> apppropriate. Has anyone wanted to do this before? I was thinking, or
> maybe I
> could redirect that group of users to use a different version of the
> command
> ``cd'' and ``ls'' so that it will only work within their home directories.
> 
> 
>      Thought of jail too, but jail only jails processes, and these guys
> aren't
> really running processes, just file access.
> 
>      Any ideas? Thanks in advance.
> 
> ______________________________________________________________________ 
> Jay Sern Liew 


Dear Jay,
There seems to be some sort of patch available @
http://chrootssh.sourceforge.net which may fitt your needs. I haven't tried it myself yet but i hope it
works.

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12634.1044093990>