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.

-- 
It seems most people that say they are "done talking about it" never really are 
until given the last word.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to