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: | Jail dont work for users |
|---|---|
| Date: | Wed, 5 Jul 2006 20:53:35 -0700 (PDT) |
Step by Step: - Install openssh-4.3p2 package without errors, all fine. - The script in /etc/ssh/sshd_config with a new line: Subsystem sftp /usr/local/libexec/sftp-server - The script in /etc/init.d/sshd was replaced with another including references to the new compiled (from the openssh package) binary file: /usr/local/sbin/sshd. The sshd daemon was started using this script. - All the structure: bin cssa dev etc lib tmp usr var was created into /datos/chroot/ and the files into that directories was maked. - Then the jailed user was added: cssa:x:1001:1001:CSSA,,,:/datos/chroot/./cssa:/usr/local/libexec/sftp-server This configuration work OK for loggin with an SFTP client. The user home is changed to the /datos/chroot/cssa and its chrooted to / . This is not OK. The correct chroot directory for the user is /datos/chroot/ . Of course, I can change to the root directory /, and this is the problem. I want to limit the user to the directories over /datos/chroot. Where is the problem or error? How I make the chroot directory to /datos/chroot/? Thanks for all. PD: Excuse me for my English. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Problem Fixed, Greg Wooledge |
|---|---|
| Next by Date: | sftp/scp problems, Erich Weiler |
| Previous by Thread: | Problem Fixed, Joshua Kordani |
| Next by Thread: | Ssh issue: core not dumped: /var/core/core.sshd, Li, Mike |
| Indexes: | [Date] [Thread] [Top] [All Lists] |