Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux system network security tools sudo Introduction     - Python pickle module for simple use notes (Programming)

- Use PXE with kickstart to install Linux automatically (Linux)

- Windows and Ubuntu dual system, repair of two ways UEFI boot (Linux)

- How to build Mono 3.4.0 / 3.4.1 on Windows (Linux)

- About ORA-02391 solution (Database)

- Install the Red Hat Container Development Kit on OSX (Server)

- Install OpenGL development environment in Fedora and Ubuntu (Linux)

- Embedded Linux Optimization (Programming)

- S5PV210 development board for embedded development environment to build under Ubuntu (Linux)

- CentOS use wget (Linux)

- Linux bash: scp: command not found the problem (Linux)

- How x2go set up Remote Desktop on Linux (Linux)

- VMware11 virtual machine Ubuntu14.10 system partition sda1 disk expansion (Linux)

- Regular expressions in Perl (Programming)

- Linux kernel network subsystem analysis (Programming)

- Linux firewall to prevent external network attacks (Linux)

- How to enable Software Collections (SCL) on CentOS (Server)

- Linux / Unix: chroot command examples to explain (Linux)

- Calculate CPU utilization (Linux)

- Using Python and OpenCV detecting image barcode (Programming)

 
         
  Linux system network security tools sudo Introduction
     
  Add Date : 2018-11-21      
         
       
         
  Although all versions of Linux distribution comes with a number of free open-source software, but there are still a large number of useful tools are not default. Included in their CD-ROM, especially with some of the tools to enhance Linux network security package, most of which are also free open source software.

Here's a brief introduction to the sudo Enhanced Linux network security tools.

sudo allows a system administrator to certain user programs run as root partial / total system commands. One obvious use is to enhance the security of the site, if you need a day to do some routine work as root, execute the command of some frequently only a fixed number of root identity can perform, then use sudo is very suitable for you.

sudo's home page at: http: //www.courtesan.com/courtesan/products/sudo/

In RedHat, for example, the following brief installation and setup process:

First, you download from the home page on sudo forRedhatLinux of rpmpackage.

It ftp://ftp.freshmeat.net/pub/rpms/sudo/ most current stable version 1.5.9p4.

# Rpm-ivhsudo * perform the installation, then use / usr / sbin / visudo edit / etc / sudoers file.

If you are prompted to find / usr / bin / vi vi but in fact you have a program in the directory / bin, you need to

ln-sf / bin / vi / usr / bin / vi vi create a symbolic link in / usr / bin is. (Note: I'm on the Redhat6.1 encountered, Redhat5.x not on this issue)

In addition, if some other error occurs, you may also need to # chmod700 / var / run / sudo

Here is my / etc / sudoers file example:

Code:

[Root @ sh-proxy / etc] #moresudoers

Host_AliasSERVER = sh-proxy

#Useraliasspecification

User_AliasADMIN = jephe, tome

#Cmndaliasspecification

Cmnd_AliasSHUTDOWN = / etc / halt, / etc / shutdown, / etc / reboot

ADMINSERVER = SHUTDOWN

jepheSERVER = / usr / bin / tail-f / var / log / maillog

jepheSERVER = / usr / bin / tail-f / var / log / messages

#Userprivilegespecification

rootALL = (ALL) ALL

Since I often need to remotely log in to the server observe changes emaillog file / var / log / maillog, so I added this line to / etc / sudoers, so I do not often logged in as root to complete my daily work, improves safety.
     
         
       
         
  More:      
 
- MongoDB Installation under CentOS 6.6 (Database)
- Oracle row and column switch to turn columns (Database)
- linux server security (Linux)
- PXE install CentOS 6.4 (Linux)
- Debian 7.6 install Nvidia graphics driver (Linux)
- Samhain: Powerful intrusion detection system under Linux (Linux)
- Iptables use examples (Linux)
- Upgrade to Node V4 seven reasons (Programming)
- Linux System Getting Started Tutorial: Five image processing software (Linux)
- build Android environment on Ubuntu 12.04 (Server)
- ActiveMQ-based shared file system HA solutions (Server)
- Configuring ftp server and nfs server under Linux (Server)
- How to monitor network usage by nload in Linux (Linux)
- Netfilter / Iptables Comments (Linux)
- Additional SQL Server 5123 database reported error (Database)
- HAproxy let IP recording back-end RS (Server)
- Remote installation of Net-SNMP whole process (Linux)
- Linux install Eclipse for C / C ++ Development (Linux)
- Oracle PL / SQL selective basis (IF CASE), (LOOP WHILE FOR) (Database)
- VMware virtual machine to install CentOS 6.2 (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.