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

Re: Questions of using SCP



On Tue, Jul 30, 2002, Tom Badran wrote:
> On Tuesday 30 Jul 2002 3:21 pm, Hui Chun Kit wrote:
> > Dear all,
> >
> >
> >     I am not sure whether this is off topic of not.. I want
> > to ask if it is possible to let users use scp to manage files
> > on a system but denying ssh shell access?
> 
> I think its possible using sftp, as scp relies on shell access, but i cant 
> tell you how to make sftp work without ssh shell access.

Maybe it would work to just change the shell to /bin/false?  Then scp
wouldn't work, as you require, and I'm assuming (maybe wrongly) that sftp
would still work.

HTH,
Daniel

-- 
Daniel A. Freedman
Laboratory for Atomic and Solid State Physics
Department of Physics
Cornell University



Reply to: