CentOS :: Setting User Can Access FTP Only

17 sec read

:: What’s this
FTP is a standard network protocol used to transfer files from one host to another host over a TCP-based network.

:: How to setup user can access ftp only without shell access
+ Disable shell access for user

vi /etc/passwd

change /bin/bash to /bin/false, so some like this:


+ Add /bin/false in /etc/shells

vi /etc/shells

add this line:


:: Links
+ Google

Reset root password on CentOS 7

Edit boot menu on-the-go 0. reboot the CentOS 7 and press ESC when GRUB menu show up on the screen and press “e”1. find...
18 sec read

Leave a Reply

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