•  Home
  •  Dashboard
  •  Company
    • About Us
    • Blog
    • Careers
    • Contact Us
    • Data Centers
    • Looking Glass
    • Network
    • Reseller
  •  Hosting Services
    • Infrastructure
      • iColocation
    • Compute
      • cMetal
      • cVirtual
    • Storage
      • sObject
      • sBlock
    • Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • Protection
      • pBackup
      • pDDoS
  •  Solutions
    • Ecommerce
    • Finance
    • Gaming
    • Hosting
    • Management
    • Security
    • System Integrator
  •  Support
    • Community
    • Knowledge Base
    • Open A Ticket
  •  USA & Canada: 800-933-1517
  •  International: 626-549-2801
  •  Email: sales@psychz.net
  • Services
    • new-colocation-header-img
      Infrastructure
      • iColocation
    • new-compute-header-img
      Compute
      • cMetal
      • cVirtual
    • new-storage-header-img
      Storage
      • sObject
      • sBlock
    • new-networking-header-img
      Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • new-protection-header-img
      Protection
      • pBackup
      • pDDoS
  • Solutions
    • Ecommerce
    • Security
    • Gaming
    • Hosting
    • Management
    • Finance
    • System Integrator
  • Dashboard

วิธีการเพิ่มผู้ใช้ใน sudoers?

  • Home
  • Client
  • Qa Forum
  • วิธีการเพิ่มผู้ใช้ใน sudoers?

Posted By: Test | 1 Replies | Last Reply On: Sep 23, 2015 14:49:24

sudoers, users

วิธีการเพิ่มผู้ใช้ใน sudoers?

Psychz - Luis

Votes: 0Posted On: Sep 23, 2015 14:49:24
 

เครื่องหมาย,

ในระบบ Linux ทั้งหมดที่ให้สิทธิ์ผู้ใช้ทั่วไปสิทธิ์ในการเรียกใช้คำสั่งระดับรากเป็นส่วนหนึ่งของการตั้งค่าระบบความปลอดภัย ไม่แนะนำให้ผู้ใช้ปกติสามารถใช้คำสั่งระดับรากเนื่องจากอาจมีการประนีประนอมกับระดับผู้ใช้ที่อาจนำไปสู่ระบบที่ประกอบด้วย Visudo สามารถใช้เพื่ออนุญาตให้ผู้ใช้ทั่วไปมีสิทธิ์ในการเรียกใช้คำสั่งระดับรากขณะที่ยังคงเข้าสู่ระบบเป็นบัญชีผู้ใช้อยู่

การเรียกใช้ visudo คำสั่งจะเปิดตัวแก้ไข visudo conf ซึ่งอนุญาตให้ผู้ใช้ root เพิ่มผู้ใช้ลงในรายการ sudoers ค้นหาบรรทัดต่อไปนี้และแก้ไข - เพิ่มผู้ดูแลระบบผู้ใช้ในรายการ visudo

## ถัดไปเป็นส่วนหลัก: ผู้ใช้สามารถเรียกใช้ซอฟต์แวร์ใดได้บ้าง
## เครื่องใด (ไฟล์ sudoers สามารถแชร์ระหว่างหลาย ๆ ไฟล์ได้
## systems)
ไวยากรณ์ ##:
##
## user MACHINE = คำสั่ง
##
## ส่วน COMMANDS อาจมีตัวเลือกอื่นเพิ่มเข้าไป
##
## อนุญาตให้ root รันคำสั่งใดก็ได้
root ALL = (ทั้งหมด) ทั้งหมด
admin ALL = (ALL) ทั้งหมด

รูปแบบ Ubuntu และ Debian อาจมีการเปลี่ยนแปลงได้ แต่โดยปกติโปรแกรมแก้ไข visudo จะแสดงตัวอย่างวิธีการเพิ่มผู้ใช้ลงในรายการ vsudoers

Was this reply helpful?

Related topics

  • Add user to sudoers Centos
  • แหล่งที่มาด้านบนที่จะช่วยให้คุณเรียนรู้ลินุกซ์
  • ตัวกรอง DDoS แบบต่อต้าน
  • การโจมตี Nonesense ชื่อเป็นกังวลอย่างจริงจังสำหรับผู้ดูแลระบบ Sys
  • การตั้งค่าเซิร์ฟเวอร์เฉพาะ
  • Why Gaming Companies are Choosing Bare Metal Servers
  • Unmetered Dedicated Server ในสหราชอาณาจักร
  • Reference Architecture - Dedicated Server Deployment
  • Managed Dedicated Server Hosting ในแคลิฟอร์เนีย
  • Manage CDN Services
  • Location
  • Launch of New Data Center In Sao Paulo, Brazil
  • How to setup a dedicated server for Team Fortress 2
  • How To Secure cPanel?
  • AMD'S EPYC vs INTEL XEON
Copyright © 2025 Psychz Networks,
A Profuse Solutions Inc Company
Hosting Services
Infrastructure
  • iColocation
Compute
  • cMetal
  • cVirtual
Storage
  • sObject
  • sBlock
Networking
  • nCDN
  • nIP Transit
  • nWavelength
Protection
  • pBackup
  • pDDoS
Company
  • About Us
  • Blog
  • Careers
  • Contact Us
  • Data Centers
  • Looking Glass
  • Network
  • Reseller
Policies
  • Acceptable Usage Policy
  • Privacy Policy
  • Service Level Agreement
  • Terms and Conditions
Support
  • Community
  • Knowledge Base
  • Open A Ticket
Get In Touch
  • Psychz Networks,
    A Profuse Solutions Company
    611 Wilshire Blvd #300
    Los Angeles,California 90017
    USA
  • US/Canada: 800-933-1517
  • International: 626-549-2801