I am sorry if this has been discussed before but I couldn't find any related threads.
What I want is to create some user accounts that will not be able to get a shell but will be able to sftp or scp to their home directories. If I add a user like this
then the user will not be able to sftp to the server. Any suggestion will be much appreciated 
What I want is to create some user accounts that will not be able to get a shell but will be able to sftp or scp to their home directories. If I add a user like this
Code:
gkontos:*:1001:1001:Full Name:/home/gkontos:[B]/usr/sbin/nologin[/B]