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:

mee:x:1000:1000::/home/mee:/bin/false

 
+ Add /bin/false in /etc/shells

vi /etc/shells

add this line:

/bin/false

 
:: 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...
Sysadmin.ID
18 sec read

Leave a Reply

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