<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">The most succinct explanation i have seen in some time.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 16, 2019 at 7:57 PM Kevin Fries <<a href="mailto:kevin@fries-biro.com">kevin@fries-biro.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="zoom:0%"><div dir="auto">su and sudo are two different things.<br><br></div>
<div dir="auto">Also, root is simply a moniker for userid 0 by convention.<br><br></div>
<div dir="auto">With SU, to gain elevated privs, you need the root password. And with that password, you have all the keys to the kingdom.<br><br></div>
<div dir="auto">SUDO, on the other hand allows granular elevation. So, you can have root access to add users, but not start services, or to start and stop services, but not view logs.<br><br></div>
<div dir="auto">Also, if you go into /etc/passed, and rename account 0 (zero), from root to thegrandguru, su and sudo will elevate your privs, from the user to that of thegrandguru. If you create an accout called root, with a userid of 1005, root will be just a common user, but thegrandguru is what you generally think of as root.<br><br></div>
<div dir="auto">Realize that all this is about getting your privs to that of userid=0<br><br></div>
<div dir="auto">Kevin Fries<br><br></div>
<div dir="auto">Sent from <a href="http://www.bluemail.me/r?b=15704" target="_blank">BlueMail</a> </div>
<div class="gmail_quote">On Oct 16, 2019, at 5:31 PM, Harold Hartley <<a href="mailto:wheelie207@ownmail.net" target="_blank">wheelie207@ownmail.net</a>> wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="font-family:Arial">I think su is short for sudo.</div><div style="font-family:Arial"><br></div><div>On Wed, Oct 16, 2019, at 16:02, Phil Waclawski wrote:<br></div><blockquote type="cite" id="gmail-m_-1983792282260576534qt"><div style="font-family:Arial">So, I see the recent major bug with sudo, and on centos (unlike ubuntu flavors) I never use it. <br></div><div style="font-family:Arial"><br></div><div style="font-family:Arial">Is there a problem with just commenting out the <br></div><div style="font-family:Arial"><br></div><div style="font-family:Arial">root ALL = ALL(ALL) in the sudoers file?<br></div><div style="font-family:Arial"><br></div><div style="font-family:Arial">I don't think su is in any way connected to sudoers, but I want to check before I do something stupid.<br></div><div style="font-family:Arial"><br></div><div style="font-family:Arial">I have done some searching and I can't get an answer about this so far.<br></div><div style="font-family:Arial"><br></div><div style="font-family:Arial">Phil Waclawski<br></div><div style="font-family:Arial">---------------------------------------------------<br></div><div style="font-family:Arial">PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br></div><div style="font-family:Arial">To subscribe, unsubscribe, or to change your mail settings:<br></div><div style="font-family:Arial"><a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></div></blockquote><div style="font-family:Arial"><br></div><div id="gmail-m_-1983792282260576534sig4468849"><div>--<br></div><div> Harold Hartley<br></div><div> 17632 N. 5th place<br></div><div> Phoenix, AZ 85022<br></div><div> <a href="mailto:wheelie207@ownmail.net" target="_blank">wheelie207@ownmail.net</a><br></div><div><br></div></div><pre><hr><br>PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>To subscribe, unsubscribe, or to change your mail settings:<br><a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></pre></blockquote></div></div>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">A mouse trap, placed on top of your alarm clock, will prevent you from rolling over and going back to sleep after you hit the snooze button.<br><br>Stephen<br><br></div>