Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2003 07:31:00 -0800 (PST)
From:      shrikant@corp.123india.com
To:        freebsd-questions@FreeBSD.ORG
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Restricting SSH access to only a users home directory.....
Message-ID:  <20031124073100.22701.h006.c009.wm@mail.corp.123india.com.criticalpath.net>

next in thread | raw e-mail | index | archive | help
Hello,

 Here is a method whihc i followed ,
http://www.tjw.org/chroot-login-HOWTO/

  This one is for linux 

  I made the dummy structure for the user as per freeBSD architect 

  but all atlast gave me an error  
  "su: /bin/userchroot: No such file or directory"  when i tired to login by that user


Shri
On 24 Nov 2003 09:20:21 -0500, Lowell Gilbert wrote:

> 
> "Sunil Sunder Raj" <unixtools@hotmail.com> writes:
> 
> > This depends on the shell not ssh configuration. Install rbash and
> > assign it to the user having ssh access.
> 
> Just remember that "restricted" shells like rbash are not very hard to
> break out of, so you can't rely on them as a security measure.  It's a
> good way to go if you're mostly trying to avoid confusing the user in
> question, or as a protection against shooting yourself in the foot.





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