|
|
Restricting ftp Access - VPS (Virtual Private Server)
|
Views : 451
|
|
Tagged in : VPS (Virtual
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
Restricting ftp Access
To block FTP access for specific user follow the steps:
* Goto,
root@host [/]# vi /etc/ftpusers
and enter the username which you want to block the FTP access.
When a user attempts to log into your system using ftp, the ftpd daemon checks the /etc/ftpusers file.
If the file exists, and the user's login name is listed in it, ftpd denies access to the user.
User accounts that specify a restricted login shell in /etc/passwd should be listed in /etc/ftpusers,
because ftpd accesses local accounts without using their login shells. UUCP accounts should also be listed in /etc/ftpusers.
Each line in /etc/ftpusers consists of a login name with no white space. Following is an example /etc/ftpusers file:
* uucp
* guest
* nobody |
|
By Sanju, On - 2009-10-27 |
|
|
|