On 08/18/15 15:09, Scott Mattan wrote:
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.
In CentOS there is no way to script login to root... this is of course a desirable trait. for instance, [ user@localhost user ]$ su root <<EOF
password echo "" id EOF
standard in must be a tty
However, Fedora22 allows this action... where is the file which I must edit to enable this security setting? { (^-^) user /home/user } su root <<EOF
password echo "" id EOF
uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
Thanks for the help in advance.
My first thought is to check for differences between /etc/pam.d/su on each OS.