<div dir="ltr"><div><div><div><div>Hello, <br><br></div>I am seeing some disparity 
between (two distributions granted) CentOS 6.6 and Fedora22 in their use
 of the su utility.  I cannot figure out the cause, so I cannot fix it.<br><br></div>In CentOS there is no way to script login to root... this is of course a desirable trait.<br></div>for instance, <br></div>[ user@localhost user ]$ su root &lt;&lt;EOF<br>&gt; password<br>&gt; echo &quot;&quot;<br>&gt; id<br>&gt; EOF<br>standard in must be a tty<br><br>However, Fedora22 allows this action... where is the file which I must edit to enable this security setting? <br>{ (^-^) user /home/user } su root &lt;&lt;EOF<br><div>&gt; password<br>&gt; echo &quot;&quot;<br>&gt; id<br>&gt; EOF<br>uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023<br><br></div><div>Thanks for the help in advance.<br><br></div><div>Scott<br></div><br></div>