How Linux prevents anyone from using the SU command as root

Source: Internet
Author: User
Tags auth posix

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 configuration file.

The Linux operating system, a clone of the UNIX operating system, was born in 1991, October 5 (This is the first time that it was officially released). With the help of Internet networks and the efforts of computer enthusiasts around the world, it has become one of the most widely used UNIX-type operating systems in the world today, and the number of users is growing rapidly.

Linux is a free and free to use UNIX-like operating system, is a POSIX and UNIX based multi-user, multitasking, support multi-threaded and multi-CPU operating system. It can run major UNIX tool software, applications, and network protocols. It supports 32-bit and 64-bit hardware.

In addition, Linux inherits the network-centered design idea of Unix, and is a stable multi-user network operating system. It is primarily used on computers based on the Intel x86 series CPUs. This system is designed and implemented by tens of thousands of programmers all over the world. The aim is to establish UNIX-compatible products that are freely available to the world without the copyright of any commercial software.

Linux is known for its efficiency and flexibility, the modular design of Linux, which enables it to run on expensive workstations, and to implement all UNIX features on inexpensive PCs, with multitasking and multi-user capabilities. Linux is available free of charge under the GNU Public License and is a POSIX-compliant operating system.

In addition, the Linux operating system software package includes not only the complete Linux operating system, but also the text editor, high-level language compiler and other applications. It also includes a x-windows graphical user interface with multiple window managers, which, like using Windows NT, allows users to manipulate the system with Windows, icons, and menus.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.