Add ftp user in linux, and set the corresponding permissions, the operation steps are as follows: 5, if you need to allow users to change the password, but there is no telnet login system permissions: usermod -s /usr/bin/passwd test //After the user telnet, it will directly enter the modified interface
1, environment: ftp is vsftp. The user name is set to test. The restricted path is /alidata/www/test
2. User: Under the root user:
useradd -d /alidata/www/test test //Add user test and make The test user's home directory is /alidata/www/testpasswd test //set the password for test
3, change the user's corresponding permission settings:
usermod -s /sbin/nologin test //Qualified user test can not telnet, only ftpusermod -s /sbin/bash test //User test restores normal usermod -d /test test //Change the home directory of user test to /test4, restrict users to only access /home/test, Cannot access other paths to modify /etc/vsftpd/vsftpd.conf as follows:
chroot_list_enable=YES //Restrict access to its own directory# (default follows)chroot_list_file=/etc/vsftpd/vsftpd.chroot_list
Edit the vsftpd.chroot_list file to add restricted users. Change the configuration file for each user name. Don't forget to restart the vsFTPd server [root@localhost]# /etc/init.d/vsftpd restart
6, if you want to delete the user, use the following code:
userdel test userdel + users can delete ftp
Webalizer is a commonly used web log analysis script under Linux, of course, for nginx. I am curious
Git as the worlds most advanced distributed version control system (no one), presumably many people
Or from the process of compiling the link to generate vmlinux, it is made up of a bunch of .o files
One serial port control Usually we use direct serial port for video server, video recorder, switcher
Ubuntu update software center can not open the solution
The difference between switching users su and su in Linux Shell
Linux screen window Chinese garbled problem
Linux sar command using basic tutorial
How to modify the Linux computer name
Find files older than 10 days in Linux and delete them
There are several ways to log in to Linux on Windows platform:
Solve the dual system boot option does not show the Linux system problem
Set Win8 dual screen panorama theme
XP users must consider seven issues when upgrading to Win7
Win10 free upgrade credit? Win8.1 global share first super XP
How Win8 improves performance by optimizing hard drives
Microsoft invitation: Win10 second press conference held on January 21
How can the Win8 start interface display the desktop background image?
Win7 system upgrade key input error processing scheme
Windows 8.1 preview will be available separately for ISO downloads
When the Win8 system plays video, it has a black screen but how to fix it?