On Wed, Apr 11, 2007 at 10:22:19AM +0200, Nagy László Zsolt wrote:
> L33T Networks wrote:
> >Using the SSHD server, how can I lock users SSH'ing into a box into their
> >home directory, without having access to the /usr/home directory as a 
> >whole?
> >  

You could set them up with a restricted shell. Use e.g. 'bash -r' or the
equivalent 'rbash'. See the RESTRICTED SHELL section in the bash manual
to understand what it does.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Attachment: pgpsvZpYySqgS.pgp
Description: PGP signature

Reply via email to