Learn about Centmin Mod LEMP Stack today
Register Now

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

    110
    11
    18
    Dec 2, 2016
    Italy
    Ratings:
    +32
    Local Time:
    4:28 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

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:28 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    maybe explanation at might help https://unix.stackexchange.com/a/291467/26581

     
  3. GASTAN

    GASTAN Member

    111
    12
    18
    Jun 28, 2017
    Ratings:
    +19
    Local Time:
    4:28 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 :)