help me permissions have changed

General support questions
Post Reply
EslamFawzy
Posts: 1
Joined: 2018/12/02 07:57:56

help me permissions have changed

Post by EslamFawzy » 2018/12/02 08:16:04

Hello everyone
I scan Mmy server by Rkhunter and give me some warning

/bin/ping
the file permissions have changed

/bin/su
the file permissions have changed
the file group have changed

/usr/bin/newgrp
the file permissions have changed


[root@/]# ls -l /bin/ping
-rwxr-xr-x 1 root root 38520 Mar 22 2017 /bin/ping
[root@/]# ls -l /usr/bin/newgrp
-rwxr-xr-x. 1 root root 40240 May 11 2016 /usr/bin/newgrp

MY CENTOS 6.10 (64)

How fixed this warning Please?

User avatar
TrevorH
Forum Moderator
Posts: 27127
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: help me permissions have changed

Post by TrevorH » 2018/12/02 11:18:58

Code: Select all

[root@c6test ~]# ls -la /bin/ping /usr/bin/newgrp /bin/su
-rwsr-xr-x. 1 root root 38520 Mar 22  2017 /bin/ping
-rwsr-xr-x. 1 root root 34904 Jun 19 15:15 /bin/su
-rwsr-xr-x. 1 root root 40240 May 10  2016 /usr/bin/newgrp
Yours are all missing the setuid bit. Have you attempted to "secure" your system by removing that from various executables? It's required for all of those to function as a normal user.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 6 - General Support”