Read Windows shared files from a Linux system

Source: Internet
Author: User
First on the Windows system, unblock the guest user:

Set the folder in the C drive in the ABC attribute, select Share, and add the permissions for everyone to confirm:


Enter secpol.msc in the command box to enter the Local Policy dialog box:

First click on user rights Assignment, in "Deny access to this computer from the network", remove the Guest user:

Click Security Options, select "Local account sharing and security model", set to Guest only:

Then go back to the Linux system to operate:
It is divided into three steps: 1. Create a mount directory.
2. Scan to get shared files.
3. Mount the shared file to the directory you created.
The first step is to first create a directory named ABC01 with mkdir.
The second step requires the following statement: Smbclient-l//IP address/,
Because it is anonymous access, you do not need to enter a password.
Scan shared files with smbclient-l//192.168.10.20/to find that the folder ABC is already in the shared list:

The third step is to use mount.cifs//IP address/share File/mount Directory command, manually enter the shared file, pay attention to the case, the end plus a space.
Enter Mount.cifs//192.168.10.20/ABC/ABC01 to mount the shared file to the newly created directory/ABC01
Go inside the directory/ABC01 to see if there are files in the Win7 system shared folder Abc01.txt

Read Windows shared files from a Linux system

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.