Article title: Samba analysis and customization skills. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Abstract
This article analyzes Samba services in Linux in detail, including the core, syntax, and group of Samba.
And
Start and stop Samba. Several techniques for customizing Samba are also provided.
Key words Samba, analysis, customization
1 Introduc
Abstract This article analyzes the Linux Samba service in detail, including the core, syntax, composition, and
Start and Stop Samba. Several techniques for customizing Samba are also provided.
Key words Samba, analysis, customization
1 Introduction
Linux is an excellent network operating system that can be integrated with multiple networks. The stability and reliability of Linux have been widely used by users.
Welcome, Linux is often used as an effective and powerful file on a small net
Before explaining how to install the Samba server on ubuntu9.10 (similar to other versions of ubuntu), we should first introduce Samba knowledge.
[1. Samba knowledge ]:
Since the advent of the NetBIOS protocol, Microsoft has used it to implement the network file/print service, which is a well-known printing and sharing service. It is based on the SMB (Server Message Block) protocol, allows different computers to share printers, serial ports, and abst
the file and then resubmit the new file.Some variants of crontab are somewhat bizarre, so be careful when using the crontab command. If you omit any of the options, crontab may open an empty file, or it might look like an empty file. Then hit the delete key to exit, do not press 5. Working with instances Instance 1: Execute command command every 1 minutes: * * * * * Command Instance 2:3rd and 15 minutes per hour execution of command: 3,15 * * * = Command instance 3: At 8 o'clock in the morning
ipconfig-all on Windows XP to get it.
3) set DNS (this step may not be performed in virtualbox)
As mentioned above, after obtaining DNS through the command ipconfig-all in Windows XP via cmd, modify/etc/resolv. conf In ubuntu. The specific command is as follows:
Sudo VI/etc/resolv. conf
Modify the nameserver. For example, modify it to nameserver 208.96.128.88.
3. In the last step, restart the Ubuntu Nic.
Enter the restart command in the terminal, as shown below:
Sudo/etc/init. d/networking rest
. Therefore, Linux software development, in the hope that under windows with source insight under the editing of sources, in the SECURECRT console with the command line compilation, so it is best to achieve under Windows and Linux file sharing, VMware installed VMware Tools, which itself has settings for shared folders, can be shared.Here's another share: Linux turns on the SMB service, Windows maps the shared directory of Linux
server.
Execute netstat? A 192.168.7.148 (or host name)
Run
Smbclient? L // server
Smbclient \ server \ shared directory
Can access win9x resources, but cannot copy.
Create a directory/mnt/smb and execute
Smbmount \ server \ shared directory/mnt/smb
Attackers can access win9x resources and execute cp commands.
Smbumount/mnt/smb mount point failed.
If you want to
* commandInstance 5:3rd and 15 minutes per Monday from 8 o'clock in the morning to 11.Command:3,15 8-11 * * 1 commandExample 6:21:30 restart SMB per nightCommand:* * * */ETC/INIT.D/SMB restartInstance 7:4:45 Restart SMB for 1, 10, 22nd per monthCommand:4 1,10,22 * */ETC/INIT.D/SMB restartExample 8:1:10 restart
are a bit weird, so be careful when using the crontab command. If you omit any of the options, crontab may open an empty file, or it might look like an empty file. Then click the Delete key to exit, do not press
5. Working with instances
Example 1: Execute command every 1 minutesCommand:* * * * command
Example 2:3rd and 15 minutes per hour executionCommand:3,15 * * * command
Example 3:3rd and 15 minutes from 8 o'clock in the morning to 11.Command:3,15 8-11 * * * command
Instance 4:3rd and 15 m
directory. I have had a similar experience, several times accidentally deleted the crontab file (because the R key is close to the E key to the right). This is why some system documentation does not recommend editing the crontab file directly, but instead edits a copy of the file and then resubmit the new file.Some variants of crontab are somewhat bizarre, so be careful when using the crontab command. If you omit any of the options, crontab may open an empty file, or it might look like an empty
a user, the crontab file for the current user is edited.-L: Displays the contents of a user's crontab file, or displays the contents of the current user's crontab file if no user is specified.-r: Deletes a user's crontab file from the/var/spool/cron directory and, if no user is specified, deletes the current user's crontab file by default.-I: Give a confirmation prompt when deleting a user's crontab file.Example 1: command is executed every 1 minutesCommand:* * * * * commandExample 2:3rd and 15
delete key to exit, do not press 5. Working with instancesExample 1: command is executed every 1 minutesCommand:* * * * * commandExample 2:3rd and 15 minutes per hour of executionCommand:3,15 * * * commandExample 3: Execution at 3rd and 15 minutes from 8 o'clock in the morning to 11.Command:3,15 8-11 * * commandExample 4:3rd and 15 minutes of every two-day 8 o'clock in the morning to 11-point executionCommand:3,15 8-11 */2 * commandExample 5:3rd and 15 minutes of each Monday from 8 o'clock in t
* commandExample 5:3rd and 15 minutes of each Monday from 8 o'clock in the morning to 11.Command :3,15 8-11 * * 1 commandExample 6:21:30 restart of SMB per nightCommand :* * * * */ETC/INIT.D/SMB restartExample 7:4:45 restart SMB per month for 1, 10, 22ndCommand :4 1,10,22 * */ETC/INIT.D/SMB restartExample 8:1:10 resta
resubmit the new file.Some variants of crontab are somewhat bizarre, so be careful when using the crontab command. If you omit any of the options, crontab may open an empty file, or it might look like an empty file. Then hit the delete key to exit, do not press 5. Working with instancesExample 1: command is executed every 1 minutesCommand:* * * * * commandExample 2:3rd and 15 minutes per hour of executionCommand:3,15 * * * commandExample 3: Execution at 3rd and 15 minutes from 8 o'clock in the
from 8 o'clock in the morning to 11.Command:3,15 8-11 * * commandExample 4:3rd and 15 minutes of every two-day 8 o'clock in the morning to 11-point executionCommand:3,15 8-11 */2 * commandExample 5:3rd and 15 minutes of each Monday from 8 o'clock in the morning to 11.Command:3,15 8-11 * * 1 commandExample 6:21:30 restart of SMB per nightCommand:* * * * */ETC/INIT.D/SMB restartExample 7:4:45 restart
directly, but instead edits a copy of the file and then resubmit the new file.Some variants of crontab are somewhat bizarre, so be careful when using the crontab command. If you omit any of the options, crontab may open an empty file, or it might look like an empty file. Then hit the delete key to exit, do not press 5. Working with instancesExample 1: command is executed every 1 minutesCommand:* * * * * commandExample 2:3rd and 15 minutes per hour of executionCommand:3,15 * * * commandExample 3
directly, but instead edits a copy of the file and then resubmit the new file.Some variants of crontab are somewhat bizarre, so be careful when using the crontab command. If you omit any of the options, crontab may open an empty file, or it might look like an empty file. Then hit the delete key to exit, do not press 5. Working with instancesExample 1: command is executed every 1 minutesCommand:* * * * * commandExample 2:3rd and 15 minutes per hour of executionCommand:3,15 * * * commandExample 3
mainland arch, so the negative down payment of this world-class invention). Yes, 20 years before the house price The bank gives you a loan for 20, 30 years. The last 0 pay is the equivalent of giving you a loan for 70 (70 property). And then what? And then, the bank will never tell you: we don't refinance when you don't have a mortgage. Simply put, you have 70 years of property rights have been finished, the end, don't want to loan again in the back. So there is a rule in the banking industry,
Samba common troubleshooting-Linux Enterprise Application-Linux server application information. For details, refer to the following section. 1. Actions on the SMB server
1) run the following command to check whether the configuration is incorrect. /Usr/bin/testparm/etc/smb. conf
2). Run the ping command on the server and the client to check whether the TCP/IP works properly.
3). Use the/usr/bin/smbclient
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.