Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux user login and IP restrictions     - Deepin Tutorial: Depth Description Installer expert mode (Linux)

- MySQL service failed to start thinking of settlement under CentOS7 (Database)

- Hadoop2.4.0 Eclipse plug-in making (Server)

- The istgt PSD on ported to Mac OS X (Linux)

- 3 tips Linux command (Linux)

- Embedded Linux to solve the problem in the time zone (Linux)

- Java coding conventions (Programming)

- Ubuntu install virtual machine software VirtualBox 4.3.10 (Linux)

- How to view the Linux QPS (Linux)

- Python variable type (Programming)

- Zabbix monitoring platform to extract a single server graphical Python implementation of concurrent (Server)

- There are three ways to run a Linux operating system from a USB stick (Linux)

- Macro Analysis Performance: PHP Performance Analysis and Experiment (Programming)

- View and modify Linux machine name (Linux)

- rpm package specify the installation path (Linux)

- Effect MongoDB plan cache (Database)

- Bash Getopts - let your script supports command line parameters (Linux)

- Bad name two variables (Linux)

- Oracle database with test data insertion speed (Database)

- VSFTPD Security (Linux)

  Linux user login and IP restrictions
  Add Date : 2017-08-31      
  First, Linux IP restrictions Online:

1: The directory / etc / hosts.allow to allow landing under IP configuration file, if we can limit the landing IP network segment

Can be set to:

sshd: (optional subnet, no not tried)

2: The directory / etc / hosts.deny as limitations under the IP configuration file, set all non-landing

sshd: all

These two configuration files for the final configuration, only the IP network can SSH login!

Second, restrict user login:

1, modify /etc/pam.d/sshd

auth required pam_listfile.so item = user sense = allow file = / etc / sshusers onerr = fail

2, increase the user

echo "root" >> / etc / sshusers
- Using C ++ Container Templates in Shared Memory (Programming)
- How to improve the performance of Ruby On Rails (Linux)
- Linux deploy Tutorial (Linux)
- Configuring Proxy on a Unix terminal, accelerate Android Studio Construction (Linux)
- Linux Detailed instructions alias settings (Linux)
- gzip, bzip2, xz, tar, zip compression, archive Detailed (Linux)
- Ubuntu 15.10 installation and deployment Swift development environment (Linux)
- CentOS 6.5 opens the Xmanager Remote Desktop login (Linux)
- CentOS7 minimized installation can not find the 'ifconfig' command - Repair Tips (Linux)
- To get Java class / jar package path (Programming)
- Distributed File System FastDFS deployment (Server)
- Linux folder and extract the differential file comparison techniques -rsync Magical (Linux)
- Hadoop 2.2.0 installation development environment (standalone pseudo-distributed mode) (Server)
- How to achieve SSH without password login (Server)
- Oracle Migration partition table (Database)
- Ubuntu derivative version of the user and how to install SmartGit / HG 6.0.0 (Linux)
- Build Golang development environment configuration on Ubuntu 14.04 (Linux)
- Linux installation and configuration curl command tool (Linux)
- Linux Network Programming - non-blocking program (Programming)
- SA weak password security system of the security risks posed (Linux)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.