LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-04-2021, 08:58 AM   #16
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,635

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697

Have you yet checked to see if the accounts you attempted to remove are still present?
When you have, please report which ones (if any) still exist.
 
Old 10-04-2021, 03:11 PM   #17
Colombia
Member
 
Registered: Oct 2021
Posts: 72

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by wpeckham View Post
Have you yet checked to see if the accounts you attempted to remove are still present?
When you have, please report which ones (if any) still exist.
Thanks master.

First we run:
Code:
yum -y remove avahi-autoipd
userdel -r avahi-autoipd

yum -y remove postfix
userdel -r postfix
and finally we CHANGE COMMANDS and delete only this users
Code:
killall avahi-autoipd
killall centos
killall systemd-bus-proxy
killall tss
killall whbadmin
killall whbhelper

pkill -u avahi-autoipd
pkill -u centos
pkill -u systemd-bus-proxy
pkill -u tss
pkill -u whbadmin
pkill -u whbhelper

userdel -r centos
userdel -r whbadmin
userdel -r whbhelper
then finally we have 18 users and not 24 from ISP.

Also we delete: rm -f /root/.ssh/authorized_keys becouse ISP create with your template 3 passwords...

with this, I wait only access allowed for user ROOT.

Also we install CSF and ClamAV.

can you please giveme some other recomendation?

some software specialized in "detect when ANY USER connect by SSH" ???
CSF do that, but maybe others doit best.

Many thanks.
 
Old 10-04-2021, 07:03 PM   #18
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,635

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697
If you expect dictionary attacks, I suggest failtoban.
 
Old 10-04-2021, 10:49 PM   #19
Colombia
Member
 
Registered: Oct 2021
Posts: 72

Original Poster
Rep: Reputation: Disabled
[QUOTE=wpeckham;6288989]
Quote:
Originally Posted by wpeckham View Post
If you expect dictionary attacks, I suggest failtoban.
thanks master,
in this VPS we run cPanel,
cPanel allways install fail2ban,
also we install CSF.
 
Old 10-05-2021, 12:28 AM   #20
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by shruggy View Post
Yeah, obvious cross-post.

Colombia, please don't do that. At least not without being proactively open about it. You call everyone "master", but this shows disrespect of our work.

Srsly, stop it with the "Master" already! It's creepy.

Generally and on-topic I have to say that your posts betray such deep ignorance of how a UNIX-like system works, you shouldn't be running a web server at all. It's a danger to the internet as a whole.
 
Old 10-05-2021, 09:16 AM   #21
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,141

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Something I noticed, don't think was mentioned. Did you ever consider that these so called "spy" users are there in case you lock yourself out of the system? Then they can help you get back in? That can happen easily enough, more so when one doesn't fully understand what they are doing. If you delete their access to the system then you have totally screwed yourself I'd think. These system's are likely virtual machines (lxd containers maybe?) and it's not like they will take the time to live boot and chroot in to get you access back. They will just tell you to buy another one and start over I'd think. Think of them as a security feature rather than a spy user.
 
Old 10-11-2021, 11:10 AM   #22
Colombia
Member
 
Registered: Oct 2021
Posts: 72

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
Yeah, obvious cross-post.

Colombia, please don't do that. At least not without being proactively open about it. You call everyone "master", but this shows disrespect of our work.

Srsly, stop it with the "Master" already! It's creepy.

Generally and on-topic I have to say that your posts betray such deep ignorance of how a UNIX-like system works, you shouldn't be running a web server at all. It's a danger to the internet as a whole.
in my country call "master" not is disrespect, I am sorry user @ondoho if is bad action from me.

>>> you shouldn't be running a web server at all
sure!, sir GURU.
 
Old 10-11-2021, 11:11 AM   #23
Colombia
Member
 
Registered: Oct 2021
Posts: 72

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jmgibson1981 View Post
Something I noticed, don't think was mentioned. Did you ever consider that these so called "spy" users are there in case you lock yourself out of the system? Then they can help you get back in? That can happen easily enough, more so when one doesn't fully understand what they are doing. If you delete their access to the system then you have totally screwed yourself I'd think. These system's are likely virtual machines (lxd containers maybe?) and it's not like they will take the time to live boot and chroot in to get you access back. They will just tell you to buy another one and start over I'd think. Think of them as a security feature rather than a spy user.
Just that is the answer from ISP.

many thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How can clean delete the "git branch"? poplinux Linux - Software 3 10-17-2012 03:27 AM
Can I do a clean debian reinstall on a VPS walterbyrd Debian 2 01-10-2010 05:37 PM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM
how to make a "clean delete" ztdep Linux - Software 2 06-04-2006 01:55 AM
Where can I download UML VPS or Xen VPS to make a virtual private server? abefroman Linux - Software 3 12-09-2005 10:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration