Use Samba in Linux

xiaoxiao2021-03-06  19

The default Linux will install the Samba service, but not set to start automatically. In order to facilitate our access to the server, FTP is usually used, but it is used as convenient to the online neighbor. Samba is exactly a service. Modify /etc/smb.conf (also possibility is /etc/samba/smb.conf), find "Encrypt Passwords = YES", he should be annotated, deleted comment tags are valid (if nothing One line can be handped in [Global] Section), restart the SM service in the Control-> Control Panel-> Control Service Activity in LinuxConf and set to auto-start. Using SMBADDUSER to join Samba, the command format is: SMBADDUSER UNIXUSER: NTUSER THISER THISER TISH When you enter your password, your user name is NTUser, which is equivalent to Unixuser, entering a password, and the system prompts the user to create success. Indicates that you can now use the Explorer Enter // ServerIP to access the server.

Added Shared Directory: Modify /etc/smb.conf You can create a shared directory in the final addition of step, but you must restart the SMB service. Example: [ShareName] Path = / Writable = YES ...

ShareName cannot be reintegrated with the default section (Global ETC.)

To manage SMB we can also start a management page to start SWAT service, if you have successful you can use your browser to access http: // server: 901 / to manage

转载请注明原文地址:https://www.9cbs.com/read-40909.html

New Post(0)