•  Home
  •  Dashboard
  •  Company
    • About Us
    • Blog
    • Careers
    • Contact Us
    • Data Centers
    • Looking Glass
    • Network
    • Reseller
  •  Hosting Services
    • Backup
    • Content Delivery Network
    • Colocation Hosting
    • Dedicated Hosting
    • DDoS Mitigation
    • IP Transit
    • Private Cloud
    • Wavelength
  •  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
    • Dedicated Servers
    • Colocation
    • Private Cloud
    • DDos Protection
    • IP Transit
    • CDN
    • Backup
  • 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: 2Posted On: Sep 23, 2015 14:49:24
 

Mark,

In all Linux systems giving regular users the privilege to run root level commands is part of setting up a secure system. It is never recommended to allow normal users the ability to operate root level commands due to potential compromises to the user level that can lead to a system wide comprise. Visudo can be used to allow normal users the permissions to run root level commands while still being login as the user account.   

Running the command visudo will open the visudo conf editor which allows the root user to add users to the sudoers list. Search for the follow lines and edit-add the user admin to the visudo list.

 

 ## Next comes the main part: which users can run what software on
 ## which machines (the sudoers file can be shared between multiple
 ## systems).
 ## Syntax:
 ##
 ##      user    MACHINE=COMMANDS
 ##
 ## The COMMANDS section may have other options added to it.
 ##
 ## Allow root to run any commands anywhere
 root    ALL=(ALL)       ALL
 admin ALL=(ALL)    ALL

 

Ubuntu and Debian format might change but normally the visudo editor gives examples how to add users to the vsudoers list.

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 change user password in Linux?
  • Delete User In Linux
  • How To Setup Application Load Balancer Using CDN
  • Top Screen Recording Softwares
  • Psychz CDN Products and Features Updates
  • Linux File Permissions Cheat Sheet
  • Installing MariaDB on Centos 7
  • How to setup a dedicated server for GMOD (Garry's Mod)
  • What is DDoS and How to Protect Against a DDoS Attack
  • How To Remotely Connect To Windows Server?
  • What Scientific Linux is and its features
  • Scientific Linux and its features
Hosting Services
  • Dedicated Hosting
  • Colocation Hosting
  • Backup
  • IP Transit
  • DDoS Mitigation
Support
  • Portal Login
  • Knowledgebase
  • Community
Company
  • About Us
  • Contact Us
  • Network
  • Data Centers
  • Looking Glass
  • Affiliates
  • Reseller
  • Blog
Policies
  • Privacy Policy
  • Acceptable Usage Policy
  • Terms and Conditions
  • Service Level Agreement
Company
  • Psychz Networks,
    A Profuse Solutions Company
    611 Wilshire Blvd #300
    Los Angeles,California 90017
    USA
  • US/Canada: 800-933-1517
  • International: 626-549-2801
Subscribe to Our Mailing List
* indicates required
Copyright © 2023 Psychz Networks, A Profuse Solutions Inc Company