scp to directory w/o execute permissions

Charles Farinella farinella at mcttelecom.com
Thu Dec 12 11:08:01 EST 2002


On Thu, 12 Dec 2002 bscott at ntisys.com wrote:

> On Thu, 12 Dec 2002, at 10:06am, farinella at mcttelecom.com wrote:
> > I think I've solved my problem by removing the path statement from
> > .bash_profile for the user in question, so that we can scp files to the
> > account, but the user can run no commands.
> 
>   If the user specifies the exact path to the command, it will still work.
> 
>   For example,
> 
> 	ssh foo at bar /bin/sh
> 
> would give them a shell prompt.

I was doing so well....... :-(

Ok, that won't work.  I need to scp files to the machine, yet not allow 
the user to execute anything.  Any suggestions?

--charlie

-- 
------------------------------------------------------------------------
Charlie Farinella, Appropriate Solutions, Inc.
cfarinella at AppropriateSolutions.com
603-924-6079





More information about the gnhlug-discuss mailing list