Boston Linux & Unix (BLU) 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

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

allowing scp but not ssh



On Mon, Jul 22, 2002 at 02:04:10PM -0700, 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.

I suspect adding the desired bogus shell to /etc/shells will solve the
problem for you. (See the shells(5) man page.)

Nathan Meyers
nmeyers at javalinux.net




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org