Page 1 of 1

help me permissions have changed

Posted: 2018/12/02 08:16:04
by EslamFawzy
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?

Re: help me permissions have changed

Posted: 2018/12/02 11:18:58
by TrevorH

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.