•  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文件可以在多個之間共享
##系統)。
## 句法:
##
## user MACHINE = COMMANDS
##
## COMMANDS部分可能添加了其他選項。
##
##允許root在任何地方運行任何命令
根ALL =(ALL)ALL
admin ALL =(ALL)ALL

Ubuntu和Debian格式可能會改變,但通常visudo編輯器可以給出例如何將用戶添加到vsudoers列表中。

Was this reply helpful?

Related topics

  • 頂部會計軟件
  • 阿姆斯特丹是數據中心的DDoS保護?
  • 最佳開源電子郵件服務器
  • 尋找與多個美國位置和DDOS防護供應商
  • 在美國東部專用服務器
  • 在歐洲經濟實惠的託管
  • 前6工具搜索對於內存在Linux下
  • 亞太優化的專用服務器所需要的
  • Yum Update Not Working on Centos 7
  • Vulnerability Disclosure Policy
  • The Ultimate Gaming Experience with Psychz Networks Game Servers!
  • How to create firewall (Edgelayer) rules?
  • Data Center Redundancy: N+1
  • DDoS攻擊仍然有上升的趨勢
  • Account Credits
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