Latest news
Keeping Users in Check
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
- Software: scponly
Spotlight

IT security jobs: What's in demand and how to meet it
Posted on 15 May 2013. | Let's say you want a career in information security, where do you start? What credentials do you need? What are employers looking for? Read on to find some answers.

Is Microsoft is reading your Skype communications?
Posted on 15 May 2013. | The question of whether Skype allows U.S. intelligence and law enforcement agencies to access the communications exchanged by its users has still not been adequately answered by Microsoft.

Internet Explorer best at blocking malware
Posted on 14 May 2013. | While Chrome’s malware download protection improved significantly, Internet Explorer 10 continues to outperform the other browsers with a block rate of 99.96%.

Researcher refuses to help Saudi telco to spy on people
Posted on 14 May 2013. | You would think that a Saudi Arabian telecom firm interested in monitoring its users' mobile communications would not be asking a well-known pro-privacy researcher for help, but you would be wrong.

Malicious browser extensions are hijacking Facebook accounts
Posted on 13 May 2013. | Facebook users - especially those in Brazil - are being targeted with malicious browser extensions trying to hijack Facebook profiles, warns Microsoft.
By subscribing to our early morning news update, you will receive a daily digest of the latest security news published on Help Net Security.
With over 500 issues so far, reading our newsletter every Monday morning will keep you up-to-date with security risks out there.





