[Ilugc] allowing users to use scp or sftp without giving them shell access

  • From: sridharinfinity@xxxxxxxxx (Sridhar R)
  • Date: Tue Jul 6 18:03:29 2004

On Tue, 6 Jul 2004 05:11:58 -0700, Suraj <suraj@xxxxxxxxxxx> wrote:

Sridhar R wrote:
,----
| We have about 500 users.  And  we are planning to replace FTP with SCP
| (or SFTP).  To deny shell access  I used to create a /etc/nologin file
| *or* change the  shell of all users to  /bin/false.  This doesn't work
| when I want them to use SCP (which uses SSH in turns needs shell).
`----

Can't you put them in a chroot jail?

  Is there any other solution? 


cheers,

  -Suraj

--
,-----------------[http://www.symonds.net/~suraj/]---o
| Raga saranga has both madhyamams in the arohanam.
`------------------------------[suraj@xxxxxxxxxxx]---o



-- 
Sridhar - http://www.cs.annauniv.edu/~rsridhar
Blog: http://www.livejournal.com/users/sridharinfinity

Other related posts: