•  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
  • สิ่งที่ควรพิจารณาเมื่อเลือกโซลูชั่นการเข้ารหัสลับ
  • วิธีการติดตั้ง passwordless SSH?
  • วิธีการคือ Psychz Colocation แตกต่างจากผู้ให้บริการอื่น ๆ ใน Los Angeles?
  • การโหลดบาลานซ์เซิร์ฟเวอร์ทั่วโลก
  • การกำหนดราคาไฟฟ้า Colocation
  • sObject - CNAME Guide
  • logrotate
  • The Role of CDN/DNS in Disaster Recovery Planning
  • Regex: regular expression cheat sheet
  • Psychz Networks Expands to Atlanta: New Data Center Location Now Available
  • Private Network - Create
  • India, Imposing Localization of Data Storage.
  • How to install Nagios on linux step by step?
  • CDN Domains Intro
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