Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Limit certain login to home folder |
|---|---|
| Date: | Fri, 10 Mar 2006 11:07:58 -0500 |
Rory Vieira wrote:
Hi, I would like to setup ssh for a specific user. The biggest requirement is that when he/she logs in, he should be limited to his/her home directory only. Eg, they shouldn't be able to go up with cd or something. Simply a deny on everything except their home folder... The trouble is that this should be for this user only (eg root should have no such problem)... Thanks in advance for any help :)
Try chrootssh: http://chrootssh.sourceforge.net/ Been using it for years. Works great. All you have to do is set up the chroot environment for the user and then put a "." in the home dir path in /etc/passwd, such as: /home/./joe Other other, use FreeBSD jails. Jon Kibler -- Jon R. Kibler Chief Technical Officer A.S.E.T., Inc. Charleston, SC USA (843) 849-8214 ================================================== Filtered by: TRUSTEM.COM's Email Filtering Service http://www.trustem.com/ No Spam. No Viruses. Just Good Clean Email.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Limit certain login to home folder, Ben Koren |
|---|---|
| Next by Date: | pka passphrase not working, James Stickland |
| Previous by Thread: | Re: Limit certain login to home folder, Ben Koren |
| Next by Thread: | Null-passphrase vs ssh-agent, Gian G. Spicuzza |
| Indexes: | [Date] [Thread] [Top] [All Lists] |