Non-Nonsense ubuntu 13.4w file sharing configuration goals: to achieve a windows and linux operating system that can share files, and can access the installation file sharing service through the machine name 0. change the Host Name of the Local Machine, modify the host name in the/etc/hostname file and/etc/hosts file, replace it with the new name (both must be changed), and restart 1. install the required package: samba-common python-glade2 system-config-samba sudo apt-get install samba-config-samba winbind to install, others are included in dependency 2. add User sudo adduser share for sharing 3. start system-config-samba, and add sharing (select the sharing user first) in the graphical interface sudo system-config-samba 4. configure the password sudo smbpasswd-a share (assuming the user name is share) 5. modify etc/nsswitch. conf, find the following line: hosts: files mdns4_minimal [NOTFOUND = return] dns mdns4, add wins to the end, and change it to hosts: files mdns4_minimal [NOTFOUND = return] dns mdns4 wins (without this step, windows sharing cannot be accessed through the machine name and can only be accessed through ip addresses)