Http://hi.baidu.com/jtntiivtemcnsue/item/90689ce172ee912c5a7cfb1b
People who have written MS-DOS programs usually look for functions in Linux that are equivalent to kbhit, which will detect whether a key is pressed and not actually read. Unfortunately, they did not find such a function, because there is no directly equivalent function. UNIX programmers do not notice this omission, because the Unix programming method is usually prepared for the progra
Linux intrusion check utility command 1 can get the process where filename is running # pidof filename2 can see the process through the file or tcp udp protocol # fuser-n tcp port3 can see the file modification time, size and other information # stat filename4 check the loading Module # lsmod5 check the rpc service ope
the MD5 Signature of the important case. If there are differences, it indicates that the case has been changed, at this time, we naturally need to understand why it is more active.With this feature, rkhunter has collected the MD5 distribution of important Linux distributions cases (such as login, ls, PS, top, W, and so on), and finally, when we have prepared rkhunter and completed the operation, he will use the original information to compare the dat
Linux workstation security check list
Target readers
This document is intended for users who use Linux workstations to access and manage system administrators in the project infrastructure team.
If your team's system administrator is a remote engineer, you can use this document to help them ensure that their workstation meets the most basic security requirements
Memory UsageOn Linux, there is commands for almost everything, because the GUI might is always available. When working on servers only the shell access is available and everything have to be do from these commands. So today we shall is checking the commands that can is used to check memory usage on a Linux system. Memory include RAM and swap. It is often importan
The number of CPU instruction sets have kept growing, and likewise for the operating systems which is able to run and supp ORT on more than one CPU system architecture. For example, a Linux OS such as Ubuntu, Fedora, Redhat, Linux Mint, Debian, Arch Linux, OpenSUSE and CentOS can run on Int El or AMD CPU in either 32-bit or 64-bit flavor. In addition, some
MD5 when installing third-party files.
There will be a lot of 5 or missing prompts during the operation. If it is not the above pass directory, do not pay too much attention
6. Network Check
# Ip link | grep PROMISC
The normal Nic should not be in promisc mode, except for the security server. Otherwise, someone may intrude into the sniffer.
# Lsof-I
# Netstat-nap
Check the TCP/UDP ports that are not norma
How does php check the synchronization status of mysql in linux? linuxmysql. How php detects the synchronization status of mysql in linux. This article describes how php detects the synchronization status of mysql in linux. Share it with you for your reference. The specific analysis is as follows: how does php
Article Title: How to check whether a Linux server is under attack. 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.
The guy from huicong security network, also known as the "script
Article Title: Check whether the Linux operating system is properly mounted to the hard disk. 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.
Whether or not the
Check the system password file and check the file modification date.
[Root @ fedora ~] # Ls-l/etc/passwd
View privileged users in the passwd file
[Root @ fedora ~] # Awk-F: '$3 = 0 {print $1}'/etc/passwd
Check whether there is a blank password account in the system.
Awk-F: 'length ($2) = 0 {print $1} '/etc/shadow
Check
./newSwapFileswapon ./newSwapFile
We can take swapon -s a look at the current number of swaps that are being mounted usingIt can also be used swapoff to remove a swap partition that is in use within the system.You can use the free command to view swap usage in the system (total, usage, remaining)
System ID
Under Linux, each filesystem has a corresponding ID, chewing the mouth. System ID-Linux
Check whether the linux machine is 32-bit or 64-bit: file/sbin/init or file/bin/ls/sbin/init: ELF64-bitLSBexecutable, x86-64, version1 (SYSV ), dynamicallylinked (usessharedlibs), forGNU/Linux2.6.18, stripped
Check whether the linux machine is 32-bit or 64-bit:
File/sbin/init or file/bin/ls/Sbin/init: ELF 64-bit LSB ex
Article Title: Linux operating system security performance check notes. 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.
Linux security
Check 7 most widely used Linux desktop environments
Diversity should be one of the best features of Linux. Users can constantly try out a variety of favorite and new gameplay and tricks, and find out the most suitable applications. Whether you are new to Linux or old bird, endless applications and desktop environments
Label:Under Linux, check to see if MySQL, Apache is installed, and uninstalled. Instruction Ps-ef|grep MySQL Results
Root 17659 1 0 ? XX: xx /bin/sh/usr/bin/mysqld_safe--datadir=/var/lib/mysql-- Socket=/var/lib/mysql/mysql.sock--log-error=/var/log/mysqld.log--pid-file=/var/run/mysqld/mysqld.pid
MySQL 17719 17659 0 ?From: £ /usr/libexec/mysqld--basedir=/usr--datadir=/var/lib/mysql--use
Check for missing disks and file systems in linux.Linux disks and file systems
Format
Because the file attributes/permissions set by each file system are not the same, to store the data, you need to format the separation slot. For example, in the file system of linuxinode,block,superBlockThese exist for the file system. Therefore, when formatting, you need to add tags to the disk to mark the Trojan!
File System
InLVMAndDisk ArrayBefore the
How does php check the synchronization status of mysql in linux?
This article describes how to check the synchronization status of mysql using php in linux. It is a practical technique for detecting the synchronization status of mysql using php in Linux and has some referenc
Whether it is a production server or a home computer, the disk must be worn in the long run, so we need to check the disk periodically to make sure that the disk is healthy or not, and that it needs to be replaced. In the Windows system, we all know that there are many third-party software can implement disk inspection, but under the Linux system, there is a default che
1. Brief Introduction
Every time windows is used to exit the system abnormally, Scandisk will be swept away. Linux is no exception, but it calls fsck.ProgramTo check the file system. As a system administrator, what do you do when you find that the file system is faulty? Of course, manually run fsck to check the file system. Therefore, this article teaches you h
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.