reentrant functions
Reentrant functions (that is, functions that can be interrupted) can be invoked by more than one task without worrying about data destruction. Reentrant functions can be interrupted at any time, and after a period of time can
Realization of advanced first out shared memory segment based on producer-consumer model
Producer consumer issues: This problem describes the two processes that share fixed-size buffers-so-called "producers" and "consumers"-that can occur when they
You can use Tor services, such as Tor browsers, Foxyproxy, and other things with different Tor tools, such as wget and aria2, and download managers can't start anonymous downloads directly using Tor socks, so we need tools to socks Tor Convert it to
Error number enotsock__ Socket operation on Non-socket
Cause of the error: because a pair of parentheses is missing when the socket is created, the error code is as follows:
if (Sockfd=socket (af_inet, sock_stream, 0) {cout return 0;}The correct
User-managed configuration files
User Information file:/etc/passwd
Password file:/etc/shadow
User group file:/etc/group
User group password file:/etc/gshadow
User profile:
/etc/login.defs
/etc/default/useradd
New user information
The CP command copies the source file or directory to the destination file or directory. If the source file is a normal file, the command copies it to the specified destination file, and if it is a directory, you need to use the "-r" option to copy
I. Introduction to the Concept
Network programs are divided into server-side programs and client programs. The service side is the one that provides the service, and the client is the party requesting the service. But the reality is that some
About Interrupt Nesting:
In the Linux kernel, if the driver does not specifically specify when the application is interrupted, the DO_IRQ is interrupted when the interrupt response is made, and if the interruption of the same device or the
This article mainly introduces the Linux batch backup server configuration file and directory methods, the need for friends can refer to the next
Function:1. Only in the backup machine, the remote server only need to allow the backup machine with
Message Queuing
In the SYSTEMV version of UNIX, At&t introduced three new forms of IPC functionality (Message Queuing, semaphores, and shared memory). But the BSD version of UNIX uses a nested interface as the main form of IPC. The Linux system
Linux prevents anyone from using the SU command as the root method:
1.vi/etc/pam.d/su
Auth sufficient/lib/security/pam_rootok.so Debug
Auth required/lib/security/pam_wheel.so Group=wheel
2. The wheel group is defined in the/etc/pam. D/SU
Today, open source firewalls are a vast number. This article will cover 10 of the most practical open source firewalls that fit your business needs.
1. Iptables
Iptables/netfilter is the most popular command line based on firewalls. It is the safe
I. Account security
1.1 Lock the redundant self-built account in the system
Check method:
Execute command
#cat/etc/passwd
#cat/etc/shadow
Check the account, password file, and the system administrator to confirm the unnecessary account. For
With the expansion of Linux enterprise applications, there are a large number of network servers using the Linux operating system. Linux server security can be more and more attention, here according to the depth of the attack on the Linux server in
Today, a customer's database accidentally deleted the entire directory of data files, operating system level deletion, but fortunately the database did not crash, still in the open state, the customer found a problem, help us, and finally fully
In a blog that mainly describes how to install and configure MSSQL in CentOS, in the installation process encountered 3.5G memory limitations, the following describes how to crack,Microsoft released SQL Server for Linux, but the installation
First, remote loginNote: First of all to ensure that the virtual machine and the host can ping each other, if not ping general follow-up work cannot be done.1. Putty Remote LoginFirst in a Putty software group Putty.zip (including Putty, Puttygen,
This article tags: Hacker World wifi secure Wireless attack technology public wifi insecure kali+linux Original address: http://whosmall.com/?post=460We often say that public Wi-Fi is unsafe, so where is the security? Will your phone or laptop
After understanding the concept of penetrant testing, the next step is to learn the various tools used in penetrant testing. Before you do a penetrant test, you need to understand the tools needed to penetrate. The tools required to penetrate the
Batch create user account scripts in linux and linux User Account scripts
In the book "linux private house dish" of niniao brother, I found that I forgot what I learned. to get familiar with some commands, let's take a look at the example of
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