Disable Shell Access

If you want to create a user on your server but doesn’t want to give him SSH access then you can run this command to disable his shell:

After running that command, the user specified will not have SSH access but still can do other things like FTP.

Leave a Reply

Your email address will not be published. Required fields are marked *