Some training logs for Linux

Source: Internet
Author: User
Some training logs for Linux-Linux Enterprise Application-Linux server application information. For more information, see below. 1. view the shares on the server,
Showmount-e 192.168.0.254 or smbclient-L 192.168.0.254
2. Mount the sharing on the server to the local device.
Mount-t nfs 192.168.0.254:/var/ftp/pub/mnt/usb (nfs Mode)
Or
Mount // 192.168.0.254/var/mnt/usb-U username = lake % lake (it is not recommended because you do not know the user)
3. Install the vsftp package
Rpm-ivh -- aid -- force package-name

4. configuration file (man 5 vsftpd. conf)
/Etc/vsftpd. conf
------ One or two files are used by the user to control which users cannot log on to ftp, but the control method is different -----------
/Etc/vsftpd. ftpuser (using the/etc/pam. d/vsftpd file control)
/Etc/vsftpd. user_list (controlled by the userlist_enable option in the main configuration file


------ Control which users cannot change the directory --------------------------------------------
Chroot_enable = YES
Chroot_listuser =/etc/vsftpd. chroot_listuser (add a user to this file)
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.