Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux system network security tools sudo Introduction     - Use this one-time password via SSH secure login Linux (Programming)

- Linux System Getting Started Tutorial: How to automatically set the JAVA_HOME environment variable on Linux (Linux)

- Linux, ls command to achieve (Linux)

- Three binary tree traversal (recursive, non-recursive traversal and Morris) (Programming)

- SSH mutual trust configuration (Server)

- Upload the project to GitHub, synchronous remote repository Github (Linux)

- Vmstat command Linux Performance Monitoring (Linux)

- Bootstrap 3.3.5 release download, Web front-end UI framework (Linux)

- CentOS7 virtual machine creation failed Solution (Linux)

- Cacti monitoring service Nginx (Linux)

- Linux System Tutorial: Fix ImportError: No module named wxversion error (Linux)

- JavaScript subarray Deduplication (Programming)

- Linux port scanning (Linux)

- Git large file storage will help handle large binary files (Linux)

- Ubuntu install snmp packets Unlinked OID in IPATM-IPMC-MIB: marsMIB (Linux)

- Object Oriented Programming Java reflection (Programming)

- Gentoo: !!! existing preserved libs problem (Linux)

- Install Jetty on CentOS / RHEL 6.X (Server)

- Ubuntu install ruby (Linux)

- Database start listening TNS-12537, TNS-12560 error (Database)

 
         
  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:      
 
- Ubuntu 14.04 can be used to create a WIFI hotspot for Android (Linux)
- C + + secondary pointer memory model (pointer array) (Programming)
- How Ubuntu Snappy Core 2 running on Raspberry Pi (Linux)
- Solaris 10 installation configuration mrtg monitoring system (Linux)
- How to determine whether the Linux server was hacked (Linux)
- VMware Workstation virtual machine startup error: Could not open / dev / vmmon in CentOS 6 (Linux)
- Oracle set the timer task JOB scheduler to execute stored procedures or PL / SQL code block (Database)
- OpenStack / Dev stack with neutron on Ubuntu 14.04 (Server)
- To explore the caching mechanism for Android ListView (Programming)
- Several start-up mode of Tomcat (Server)
- Laravel configuration PhpStorm + Xdebug + Chrome settings Debug Environment (Server)
- APT-mirror using a four-step configuration Ubuntu local depot (Linux)
- Virtualbox virtual machine can not copy CentOS Network (Linux)
- Ubuntu 14.10 splash screen brightness settings (Linux)
- Make Windows boot disk to install USB in Ubuntu Linux (Linux)
- HBase vs Oracle (Database)
- Ubuntu 14.04 and derivative version of the user on how to install cURL 7.37.1 (Linux)
- Nodejs nano library to handle couchdb: need a timeout (Database)
- Ubuntu and derived versions of the user how to install G Mic 1.5.8.5 (Linux)
- Linux ldconfig command (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.