Linux sudo rights Management

Source: Internet
Author: User
Tags rsync
  • sudo command function
    With the sudo command, we can classify certain superuser privileges into specific (fine) authorization to the specified ordinary user, and the normal user does not need to know the root password to use the obtained authorization (the administrator really allows root privileges). Therefore, it is no exaggeration to say that the sudo command, in contrast to the SU command, in the system users of decentralized management progress a lot, so that centralized management in theory to be guaranteed, so that the security aspects of the system to strengthen a lot.
  • sudo usage principle
    3. File configuration
    Execute the visudo command to edit the/etc/sudoers file
    4.sudo authorization aliases and configuration relationships

    5.sudo cooperate with Rsyslog service for log audit
    [Email protected] ~]# echo "Defaults logfile=/var/log/sudo.log" >>/etc/sudoers
    [Email protected] ~]# tail-1/etc/sudoers
    Defaults Logfile=/var/log/sudo.log

    1. Log Centralized Management
      Rsync+inotify or timed task +rsync, pushed to the log Management Server.
  • Linux sudo rights Management

    Related Article

    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.