[CentOS] Giving full administrator privileges through sudo on production systems

John Pierce

jhn.pierce at gmail.com
Sat Aug 17 04:12:38 UTC 2019


On Fri, Aug 16, 2019 at 8:39 PM Bagas Sanjaya <bagasdotme at gmail.com> wrote:

> Why did you say it is wrong to give full admin privileges to random users?
>


$ sudo rm -rf /

$ sudo <install keylogger of choice>

$ sudo cp /etc/{passwd,shadow} $home;   (run john-the-ripper against
passwd/shadow files).

etc etc etc.



-- 
-john r pierce
  recycling used bits in santa cruz



More information about the CentOS mailing list