•  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

Làm thế nào để thêm người dùng để sudoers?

  • Home
  • Client
  • Qa Forum
  • Làm thế nào để thêm người dùng để sudoers?

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

sudoers, users

Làm thế nào để thêm người dùng để sudoers?

Psychz - Luis

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

Dấu,

Trong tất cả các hệ thống Linux cung cấp cho người dùng thường xuyên các đặc quyền để chạy các lệnh cấp cơ sở là một phần của việc thiết lập một hệ thống an toàn. Nó không bao giờ được khuyến khích để cho phép người sử dụng bình thường khả năng vận hành các lệnh cấp cơ sở do sự thỏa hiệp tiềm ẩn đến mức người dùng có thể dẫn đến một hệ thống bao gồm. Visudo có thể được sử dụng để cho phép người dùng bình thường cho phép chạy các lệnh gốc khi vẫn đang đăng nhập như là tài khoản người dùng.

Chạy lệnh visudo sẽ mở trình biên tập visudo conf cho phép người dùng root thêm người dùng vào danh sách sudoers. Tìm kiếm các dòng theo dõi và chỉnh sửa-thêm quản trị viên người dùng vào danh sách người xem.

## Tiếp theo là phần chính: người dùng có thể chạy phần mềm nào
## máy nào (tệp sudoers có thể được chia sẻ giữa nhiều
## systems).
## Cú pháp:
##
## user MACHINE = COMMANDS
##
## Phần COMMANDS có thể có các tùy chọn khác được thêm vào nó.
##
## Cho phép root chạy mọi lệnh bất cứ nơi nào
Root ALL = (TẤT CẢ) TẤT CẢ
Admin ALL = (ALL) ALL

Ubuntu và định dạng Debian có thể thay đổi nhưng thông thường trình soạn thảo visudo cho ví dụ làm thế nào để thêm người dùng vào danh sách vsudoers.

Was this reply helpful?

Related topics

  • Add user to sudoers Centos
  • Tìm kiếm một trung tâm dữ liệu ở Mỹ để thuê kệ
  • Discount for bulk dedicated server order
  • Cần một trung tâm dữ liệu với bảo vệ DDoS
  • Cheap Dedicated Server In India
  • Best 10Gbps Unmetered Dedicated Server In North America - Top 10 List
  • Nonesense Tên Attacks Are A Lo ngại nghiêm trọng cho Sys Admins
  • Mirai DDoS attacks- Then and Now
  • History of Internet
  • Best 10Gbps Unmetered Dedicated Servers - Top 10 List
  • What is DDoS and How to Protect Against a DDoS Attack
  • Learn About Colocation Benefits And How To Get Started
  • How to compile a source code?
  • Learn All About Database Sharding
  • Interconnections in Data Center
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