Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
On Mon, 2002-07-22 at 17:04, Struts User wrote: > How do I configure my Redhat 7.3 box so that users can scp files but > not ssh into their accounts? I tried setting their shell field in > /etc/passwd to /bin/false or /sbin/nologin but both approaches also > denied scp access. The other option you have is something we did for Code Energy. Not only did we want to do what you were talking about above, but we also wanted to "chroot" folks doing the scp'ing. A guy I work with wrote a chroot patch for sftp jails (http://www.coding-zone.com/chroot-sftp.phtml). You set the statically compiled/chroot'd sftp binary as their shell. Voila! No ssh shell access. -- "Check out Snort. It sounds like a perfect match for you." -Security Focus's "Security Basics" maillist Cole Tuininga Lead Developer Code Energy, Inc colet at code-energy.com PGP Key ID: 0x43E5755D
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |