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
Site Admin
Posts: 33202
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.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply