Get the most out of your Centmin Mod LEMP stack
Become a Member

Sysadmin root and sudo differences in a single user/self managed server

Discussion in 'System Administration' started by Kintaro, Nov 20, 2018.

Tags:
  1. Kintaro

    Kintaro Member

    63
    3
    8
    Dec 2, 2016
    Italy
    Ratings:
    +14
    Local Time:
    3:40 AM
    1.15.x
    MariaDB 10
    apart the possibility to limit what commands a sudoers can use or not... I can't see many differences (error related) between a massive use of "sudo command" and launching the same command with root privilege. am I missing something?
     
  2. eva2000

    eva2000 Administrator Staff Member

    42,268
    9,550
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,708
    Local Time:
    12:40 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    maybe explanation at might help https://unix.stackexchange.com/a/291467/26581

     
  3. GASTAN

    GASTAN Member

    63
    11
    8
    Jun 28, 2017
    Ratings:
    +15
    Local Time:
    3:40 AM
    I guess the idea prepending sudo every time you run command is to make u think twice about what you are typing?
    dunno
    I do 'sudo su -' and dont ues sudo anymore :)