Securities Software (Monitoring Tools).Linux sXid
Overview
SUID/SGID files can be a security hazard. To reduce the risks, we have previously already removed the ’s’ bits from root-owned programs that won’t absolutely require such privilege, but future and existing files may be set with these ’s’ bits enabled without your notification. sXid is an all in one suid/sgid monitoring program designed to be run from cron on a regular basis. Basically it tracks any changes in your s[ug]id files and folders. (Далее…)
Some last comments
Before proceeding to read the rest of this book, it should be noted that the text assumes that certain files are placed in certain directories. Where they have been specified, the conventions we adopt here for locating these files are those of the Red Hat Linux distribution. If you are using a distribution of Linux (or some other operating system) that chooses to distribute these files in a different way, you should be careful when copying examples directly from the text. (Далее…)
Editing files with the vi editor tool
The vi program is a text editor that you can use to edit any text and particularly programs. During installation of software, the user will often have to edit text files like “Makefiles” or configuration files to make and fit they changes. The following are some of the most important keystroke commands to get around in vi. (Далее…)
Build and Install software on your system
You will see from chapter 10 through chapter 20 below that we use many different compile commands to build and install programs on the server. These commands are UNIX compatible and are used on all variant off *nix machines to compile and install software. (Далее…)
Compiling software on your system
A program is something a computer can execute. Originally, somebody wrote the “source code” in a programming language he/she could understand (e.g., C, C++). The program “source code” also makes sense to a compiler that converts the instructions into a binary file suited to whatever processor is wanted (e.g. a 386 or similar). (Далее…)