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: | openssh v5.0p1 chroot/sftp mac os x 10.4 errors |
|---|---|
| Date: | Thu, 10 Jul 2008 17:52:12 -0700 |
"fatal: bad ownership or modes for chroot directory component "/""
Here are my configuration settings:
/etc/sshd_config # override default of no subsystems Subsystem sftp internal-sftp
Match Group webgroup
ChrootDirectory %h
ForceCommand internal-sftp
AllowTcpForwarding no(note: I've also tried: ChrootDirectory /webhome/web)
Permissions and ownership on the chroot home (/webhome/web/) are:
$ ls -alG /webhome/ total 0 drwxr-xr-x + 3 root wheel 102 Jul 10 11:10 . drwxrwxr-t + 33 root admin 1224 Jul 10 11:10 .. drwxr-xr-x 6 root wheel 204 Jul 7 11:32 web
Within web, users have access to write to different directories:
$ ls -alG /webhome/web/ total 8 drwxr-xr-x + 6 root wheel 204 Jul 7 11:32 . drwxr-xr-x + 3 root wheel 102 Jul 10 11:10 .. -rw-r--r-- 1 root admin 7 Jul 2 15:48 index.html drwxrwxr-x 3 user1 web1grp 102 Jul 7 12:07 site1 drwxrwxr-x 3 user2 web2grp 102 Jul 7 12:18 site2 drwxrwxr-x 2 user3 web3grp 68 Jul 7 11:32 site3
Many thanks in advance...
Regards,
Luke
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: Deliberately create slow SSH response?, Bryan Christ |
|---|---|
| Next by Date: | RE: Deliberately create slow SSH response?, Bryan Christ |
| Previous by Thread: | Help with Openssh V5 - SFTP Chroot issue, Rebstock, Roland |
| Next by Thread: | Re: openssh v5.0p1 chroot/sftp mac os x 10.4 errors, Dirk H. Schulz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |