Keeping Users in Check

Monday, 20 January 2003, 12:47 PM EST

To use scp, a user must have a login and password on a machine. Usually, that corresponds to being able to log into the machine. This is not always a good idea, either for security reasons, or just because the users don't know what they're doing. scponly acts as a kind of alternative shell. It doesn't allow users to get a shell on your machine, but it does allow users to copy files using scp.

It works like this ó after you've downloaded and compiled scpcopy, you add scponly to /etc/shells. It should just be one line like /usr/local/bin/scponly, or /usr/local/bin/scponlyc if you compiled scponly with the "--enable-chrooted-binary" option (more on that later). Then, either add a user and set his shell to scponly, or change an existing user's shell to scponly. Then the user can copy files using scp or one of the Secure Copy utilities found on Windows or other platforms. There's no special syntax that needs to be used after scpcopy is installed; users use scp as normal.

[ Read more ]

Related items




Spotlight

Leveraging network intelligence and deep packet inspection

Posted on 26 November 2014.  |  Tomer Saban, CEO of WireX Systems, talks about how deep packet inspection helps with identifying emerging threats, the role of network intelligence, and more.


Weekly newsletter

Reading our newsletter every Monday will keep you up-to-date with security news.
  



Daily digest

Receive a daily digest of the latest security news.
  

DON'T
MISS

Thu, Nov 27th
    COPYRIGHT 1998-2014 BY HELP NET SECURITY.   // READ OUR PRIVACY POLICY // ABOUT US // ADVERTISE //