Fedora22 Security Issue.

Scott Mattan s-mattan at niscom.co.jp
Tue Aug 18 07:09:10 UTC 2015


Hello,

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 at 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.

Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20150818/18fc0b87/attachment.html>


More information about the users mailing list