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

  • From: suraj@xxxxxxxxxxx (Suraj)
  • Date: Tue Jul 6 17:40:16 2004

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?

cheers,

  -Suraj

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

Other related posts: