<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PostalCode" /><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State" /><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City" /><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place" /><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street" /><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="address" /><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]--><style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Tms Rmn";
        panose-1:2 2 6 3 4 5 5 2 3 4;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="blue">
<div class="Section1">
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">No &#8211; SELinux is disabled.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">
<hr size="2" width="100%" align="center" tabindex="-1">
</span></font></div>
<p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;
font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> ale-bounces@ale.org [mailto:ale-bounces@ale.org]
<b><span style="font-weight:
bold">On Behalf Of </span></b>Jim Kinney<br>
<b><span style="font-weight:bold">Sent:</span></b> Wednesday, August 10, 2011 7:25 PM<br>
<b><span style="font-weight:bold">To:</span></b> Atlanta Linux Enthusiasts<br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [ale] sendmail using real rather than effective user ID</span></font><o:p></o:p></p>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Is selinux active? It always keeps the real ID of the user intact even through multiple layers of su.<o:p></o:p></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt">On Wed, Aug 10, 2011 at 4:39 PM, Lightner, Jeff &lt;<a href="mailto:JLightner@water.com" target="_blank">JLightner@water.com</a>&gt; wrote:<o:p></o:p></span></font></p>
<div link="blue" vlink="purple">
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">On a couple of recently loaded servers including a RHEL6 I found that Sendmail is sending emails generated
 by root processes using my real user ID rather than root&#8217;s ID.</span></font><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">&nbsp;</span></font><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">These root processes were started from command line after I did &#8220;sudo su &#8211;&#8220; to become root.&nbsp;&nbsp; The processes
 definitely show root as the user running them.&nbsp;&nbsp; The sudo man page says that when one switches to another user both real and effective user ID are set to the new user which seems to be born out by the &#8220;id&#8221; command.&nbsp;&nbsp; However, if I run &#8220;who am i&#8221; and &#8220;whoami&#8221;
 I&#8217;m seeing my real user id (the one I was before doing the sudo su) and effective ID.&nbsp;&nbsp; However, this is also true on my RHEL5 boxes.</span></font><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">&nbsp;</span></font><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Did something change in Sendmail where it is detecting the underlying user somehow?&nbsp;&nbsp; On my RHEL5 boxes
 the email goes out just fine as root@ after a sudo su -.</span></font><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">&nbsp;</span></font><o:p></o:p></p>
</div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">&nbsp;<o:p></o:p></span></font></p>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">&nbsp;<o:p></o:p></span></font></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><font size="2" color="red" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;
color:red;font-weight:bold">__________________________________________________________________________________________</span></font></b><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:
bold">Jeff Lightner
</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">|
<b><span style="font-weight:bold">UNIX/Linux&nbsp;Administrator</span></b></span></font><b><font face="Tahoma"><span style="font-family:Tahoma;font-weight:bold">
</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">|
</span></font><b><font face="Tahoma"><span style="font-family:Tahoma;font-weight:bold">DS Waters of America, Inc
</span></font></b><font size="2" face="Tahoma"><span style="font-size:
10.0pt;font-family:Tahoma">|
<st1:Street w:st="on"><st1:address w:st="on">5660 New Northside Drive, Ste 250</st1:address></st1:Street> |
<st1:place w:st="on"><st1:City w:st="on">Atlanta</st1:City>, <st1:State w:st="on">
GA</st1:State> <st1:PostalCode w:st="on">30328</st1:PostalCode></st1:place><b><span style="font-weight:bold">
</span></b></span></font><font size="2"><span style="font-size:10.0pt"><br>
</span></font><font size="2" color="maroon" face="Wingdings"><span style="font-size:
10.0pt;font-family:Wingdings;color:maroon">(</span></font><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">:</span></font><font size="2" face="Tms Rmn"><span style="font-size:10.0pt;font-family:&quot;Tms Rmn&quot;">
</span></font><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">(Direct Dial)</span></font><font size="2" face="Tms Rmn"><span style="font-size:10.0pt;
font-family:&quot;Tms Rmn&quot;">
</span></font><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"><a href="tel:678-486-3516" target="_blank" value="&#43;16784863516">678-486-3516</a></span></font><font size="2" face="Tms Rmn"><span style="font-size:10.0pt;font-family:&quot;Tms Rmn&quot;">
 |</span></font><font size="2" color="maroon" face="Wingdings"><span style="font-size:10.0pt;font-family:
Wingdings;color:maroon">(</span></font><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">:</span></font><font size="2" face="Tms Rmn"><span style="font-size:10.0pt;font-family:&quot;Tms Rmn&quot;">
</span></font><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">(Cell)</span></font><font size="2" face="Tms Rmn"><span style="font-size:10.0pt;font-family:&quot;Tms Rmn&quot;">
</span></font><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"><a href="tel:678-772-0018" target="_blank" value="&#43;16787720018">678-772-0018</a>
</span></font><font size="2" face="Tms Rmn"><span style="font-size:10.0pt;font-family:&quot;Tms Rmn&quot;">|&nbsp;
</span></font><font size="2" color="maroon" face="Wingdings"><span style="font-size:
10.0pt;font-family:Wingdings;color:maroon">*</span></font><font size="2" color="maroon" face="Tms Rmn"><span style="font-size:10.0pt;font-family:&quot;Tms Rmn&quot;;
color:maroon">:</span></font><font size="2" color="maroon" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;color:maroon"><a href="mailto:jlightner@water.com" target="_blank">jlightner@water.com</a></span></font><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">&nbsp;<o:p></o:p></span></font></p>
</div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">&nbsp;<o:p></o:p></span></font></p>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">&nbsp;<o:p></o:p></span></font></p>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">&nbsp;<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Proud partner. Susan G. Komen for the Cure.</span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt">&nbsp;<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt">&nbsp;</span></font><i><font size="1" color="green" face="Arial"><span style="font-size:7.5pt;font-family:Arial;color:green;font-style:italic">Please consider our environment
 before printing this e-mail or attachments.</span></font></i> <o:p></o:p></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">----------------------------------<br>
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information
 is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.<br>
----------------------------------</span></font><o:p></o:p></p>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">&nbsp;<o:p></o:p></span></font></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><o:p></o:p></span></font></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
<br clear="all">
<br>
-- <br>
-- <br>
James P. Kinney III<br>
<br>
As long as the general population is passive, apathetic, diverted to consumerism or hatred of the vulnerable, then the powerful can do as they please, and those who survive will be left to contemplate the outcome.<br>
- <i><span style="font-style:italic">2011 Noam Chomsky<br>
<br>
<a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a></span></i><o:p></o:p></span></font></p>
</div>
</body>
</html>