Can we disable new user addition in Centos 6.7

Support for security such as Firewalls and securing linux
Post Reply
kahlonkamal318
Posts: 3
Joined: 2011/12/21 12:05:43

Can we disable new user addition in Centos 6.7

Post by kahlonkamal318 » 2016/05/19 07:56:50

Hi

Can we disable new user addition in Centos 6.7
Someone is adding multiple users on my system and i want to stop additon/deletion of new users

Thanks in Advance

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

Re: Can we disable new user addition in Centos 6.7

Post by TrevorH » 2016/05/19 08:09:30

If someone is adding users on your system and you don't know who it is then you have bigger problems. Sounds more like you've been hacked.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

mghe
Posts: 757
Joined: 2015/11/24 12:04:43
Location: Katowice, Poland

Re: Can we disable new user addition in Centos 6.7

Post by mghe » 2016/05/19 09:07:52

Services add user also, so beware before deleted it and double check.

kahlonkamal318
Posts: 3
Joined: 2011/12/21 12:05:43

Re: Can we disable new user addition in Centos 6.7

Post by kahlonkamal318 » 2016/05/20 09:30:40

Hi TrevorH

Thanks for the quick reply.

Actually the system was hacked and we identified the hacker and took steps to block him, but i want to make sure that in future, no attacker can add any user. Is there any method in doing so.

Also, please let me know if i can disable rm command.

Thanks in advance.

stevemowbray
Posts: 508
Joined: 2012/06/26 14:20:47

Re: Can we disable new user addition in Centos 6.7

Post by stevemowbray » 2016/05/20 09:44:48

If your server was hacked you can no longer trust it AT ALL because you don't know what backdoors the attacker might have planted. You need to reinstall it from know good media, make sure you have plugged whatever holes allowed the attacker in, make sure it is kept up to date with "yum update", and put your data back from your backups.

kahlonkamal318
Posts: 3
Joined: 2011/12/21 12:05:43

Re: Can we disable new user addition in Centos 6.7

Post by kahlonkamal318 » 2016/05/25 08:06:02

Thanks for the suggestions stevemowbray.
I'll definitely re-install the system as suggested.

Post Reply

Return to “CentOS 6 - Security Support”