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

How to add user to sudoers?

  • Home
  • Client
  • Qa Forum
  • How to add user to sudoers?

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

sudoers, users

How to add user to sudoers?

Psychz - Luis

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

Mark,

In alle Linux-systemen geven regelmatige gebruikers het privilege om root-commando's uit te voeren, als onderdeel van het opzetten van een beveiligingssysteem. Het is nooit aan te bevelen om normale gebruikers de mogelijkheid te geven om commando's van wortelniveau te bedienen door mogelijke compromissen op het gebruikersniveau dat tot een systeembreed kan leiden. Visudo kan worden gebruikt om normale gebruikers de bevoegdheden toe te laten om root level commando's uit te voeren terwijl ze nog steeds inloggen als gebruikersaccount.

Het uitvoeren van de opdracht visudo zal de visudo conf editor openen waarmee de root gebruiker gebruikers kan toevoegen aan de sudoers lijst. Zoek naar de volgende regels en bewerk het toevoegen van de gebruikersadministratie naar de visudo-lijst.

## Volgende komt het voornaamste deel: welke gebruikers kunnen op welke software draaien
## welke machines (het sudoers bestand kan tussen meerdere worden gedeeld
## systemen).
## Syntaxis:
##
## user MACHINE = COMMANDS
##
## Het commando COMMANDS kan andere opties hebben toegevoegd.
##
## Laat wortel toe om alle commando's overal uit te voeren
Root ALL = (ALL) ALL
Admin ALL = (ALL) ALL

Ubuntu- en Debian-indeling kan veranderen, maar normaal gesproken geeft de visudo-editor voorbeelden om gebruikers toe te voegen aan de vsudoers-lijst.

Was this reply helpful?

Related topics

  • Add user to sudoers Centos
  • Centos - Add User To Group
  • Is it possible to add more hardware to the Colocation servers. If so how?
  • How to set or change user passwords with ldappasswd?
  • How to change user password in Linux?
  • CDN and Load Balancer: Ultimate combination for efficient content delivery
  • CDN Hosting and why Every website should utilize a CDN
  • In Comparison: Windows VS Linux
  • The Ultimate Guide to Choosing the Best Data Center Location
  • Benefits of a multi-CDN environment
  • Firewalld commands for CentOS 7 and CentOS 8
  • How to temporarily/permanently enable DDoS IP diversion for a Single IP Address?
  • Guide to establish a GRE Tunnel and BGP peering session on MikroTik RouterOS
  • Enable/Disable HTTP2
  • How to move existing domain from one CDN device to another
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