Re: Can you remove the root user from sudoers file on CentOS…

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Phil Waclawski
Date:  
To: Main PLUG discussion list
Subject: Re: Can you remove the root user from sudoers file on CentOS?
I am under the continuing impression that su has nothing to do with sudoers
on a centos based system.
Phil W

On Wed, Oct 16, 2019 at 6:59 PM James Mcphee <> wrote:

> the main reason root is in sudoers is so when you type (or copy/paste) as
> root it still works, but the instrux can be more general for users with
> sudoers privileges.
>
> On Wed, Oct 16, 2019 at 6:02 PM der.hans <> wrote:
>
>> Am 16. Oct, 2019 schwätzte Phil Waclawski so:
>>
>> moin moin,
>>
>> > So, I see the recent major bug with sudo, and on centos (unlike ubuntu
>> > flavors) I never use it.
>> >
>> > Is there a problem with just commenting out the
>> >
>> > root ALL = ALL(ALL)    in the sudoers file?

>>
>> Depends on whether or not you have any scripts that depend on it.
>>
>> > I don't think su is in any way connected to sudoers, but I want to check
>> > before I do something stupid.
>>
>> su and sudo are different tools and still weren't interconnected a few
>> years ago. Haven't verified recently, but the should still not be
>> interconnected.
>>
>> Both are still SETUID for their superpowers.
>>
>> ciao,
>>
>> der.hans
>>
>> > I have done some searching and I can't get an answer about this so far.
>> >
>> > Phil Waclawski
>>
>> --
>> # https://www.LuftHans.com https://www.PhxLinux.org
>> # SeaGL is mid-november in Seattle - https://SeaGL.org/
>> # "It's your difference that gives you the power that you have."
>> # --Helen Mirren---------------------------------------------------
>> PLUG-discuss mailing list -
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
>
> --
> James McPhee
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss