AD

Linux and Windows shared files

Our most popular Linux and Windows file sharing, primarily for the novice Zhiyi Zhi Road. How to build simple Samba server
sudo apt-get install samba smbfs system-config-samba
Start the Administration interface:
Command: sudo system-config-samba (you can also click the menu item into: System - System Management-Samba) can be added to the shared directory, select the user can access Set user smb password command: sudo smbpasswd-a user name in the configuration, to choose the "visible", otherwise hidden, others will not see your share of such people after the restart you can access the shared directory of the shared folder settings assume that the file is / home / Public, Then add in the following lines in smb.conf
[Public]
path = / home / Public specified share path
public = yes specify whether the shared resource account to give visitors access, can also be guest ok = yes
writable = yes specify this directory is writable by default, can also be specified to use readonly = no writable set
valid users = ubuntu specify who can use the shared resources of users and groups
create mask = 0700 indicates the properties of the newly created file
directory mask = 0700 indicates the properties of the newly created directory
force user = root force to establish who is the owner of the file if I have a catalog, so that guest can write, then the guest can be removed, if I force user = root force the creation of the file owner is root, while limiting create mask = 0755, so that guest can not be deleted.
force group = root ibid.
available = yes I'm not sure, hehe
browseable = yes is in the browse list. Browse the list is a list of available shared list Do not forget to / home / Public permissions set to 777 ah
chmod 777 / home / Public
Restart samba service on what the user can access the ubuntu
/ Etc / init.d / samba restart
If you do not bother to want anonymous access, then I have a simple configuration in smb.conf, the
securtiy = user to securtiy = share
In the end of the file add:
[Public]
path = / home / Public specified share path
public = yes specify whether the shared resource account to give visitors access, can also be guest ok = yes
writable = yes specify this directory is writable by default, can also be specified to use readonly = no set can be written on the OK
标签: novice, public path, linux, mask, chmod 777, interface command, administration interface, system management, system config, smbfs, valid users, force group, samba server, group root, simple samba, root force, resource account
分类: OS
时间: 2011-07-08

相关文章

  1. Step by step learning Samba Linux and Windows shared files

    [Taken from] http://www.linuxsir.org/main/?q=node/158 Step by step learning Linux and Windows shared files Sam ...
  2. linux and windows shared

    1. Linux access windows -------------------------------------------------- ----------------------------------- ...
  3. Linux to access Windows shared files

    After Windows is set to share files, Linux can be accessed through the Samba protocol.
  4. linux and windows sharing (simple)

    linux and windows shared 1. To set the shared files under windows right-click the folder, properties shared, w ...
  5. under the linux host and windows shared folder vbox

    1. Install vbox virtual machine 2. In the virtual machine operating system to install linux 3. Open the Virtua ...
  6. Step in learning Linux and Windows to share files Samba (v0.2b)

    From: LinuxSir.Org Abstract: This paper is only to talk about our most popular Linux and Windows to share file ...
  7. linux machines to share files on mounted windows:

    linux machines to share files on mounted windows: mount-o username = Administrator, password = 123456 / / 192. ...
  8. Between Linux and Windows XP each transfer files using FTP

    I am using a virtual machine installed Linux, the real system is Windows XP, in Windows XP, the software set u ...
  9. linux samba mount windows shared directory using

    On linux access windows through samba shared directory: 1. Create mount points: mkdir-r / mnt / samba (2) to u ...
  10. Linux through samba to windows shared folder to read the file

    First on Windows machines to share a share directory, set directory access. Local Windows machine ip address 1 ...
  11. linux and windows share (a)

    Linux and windows Smb visits to achieve a bridge, so let us look at what is smb, its main function, shared by ...
  12. Let the virtual machine host Linux and Windows resource sharing

    Indeed, the use of the virtual machine to Linux, a great convenience to learners. However, the learning proces ...
  13. linux and windows share (simple)

    linux and windows share 1 set of shared files under the windows right-click the folder, properties shared prem ...
  14. Use SFTP for secure CRT in the swap file under LINUX and WINDOWS

    Use SFTP for secure CRT in LINUX and WINDOWS for the exchange of documents many users still often done in the ...
  15. Using the colinux virtual linux in windows

    Cooperative Linux is the first free and Open Source Working method for optimally running Linux on Microsoft Wi ...
  16. linux command find find files

    Each of the operating system by thousands of different types of documents composed. Which comes with the file ...
  17. Take a look at a computer science student of Tsinghua LINUX and WINDOWS how to see it!

    Not excessive to consider "safe" because the default Linux is very secure. But you are interested in ...
  18. Grub boot Linux or windows system

    Many beginners, when you install linux system, problems often arise: bootloader installed wrong, or accidental ...
  19. between linux and windows file sharing (vsftp server configuration)

    Hardware configuration: Machine: windows xp Virtual Machine: vmvare 5.5.3 linux system: redhat enterprise linu ...